-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc
More file actions
executable file
·38 lines (38 loc) · 875 Bytes
/
Copy path.eslintrc
File metadata and controls
executable file
·38 lines (38 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"extends": "eslint:recommended",
"env": {
"es6": true,
"node": true,
"browser": true
},
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2019
},
"plugins": [ "svelte3" ],
"overrides": [
{
"files": "*.svelte",
"processor": "svelte3/svelte3"
}
],
"rules": {
"brace-style": ["error", "stroustrup", { "allowSingleLine": true }],
"indent": [2, "tab"],
"quotes": [2, "single", "avoid-escape"],
"semi": [2, "always"],
"func-call-spacing": ["error", "never"],
"space-before-function-paren": ["error", "always"],
"newline-per-chained-call": ["error", { "ignoreChainWithDepth": 3 }],
"no-undef": 2,
"no-mixed-spaces-and-tabs": 2,
"no-unused-vars": 1,
"no-trailing-spaces": 2,
"no-shadow": 2,
"eol-last": 1,
"no-console": 0,
"comma-dangle": 0,
"prefer-const": 2,
"no-cond-assign": 0
}
}