-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
45 lines (45 loc) · 986 Bytes
/
.eslintrc
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
39
40
41
42
43
44
45
{
"env": {
"browser": true,
"commonjs": true,
"jest": false,
"mocha": false,
"es6": true,
"jquery": true
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "script"
},
"rules": {
"curly": "error",
"keyword-spacing": ["error", { "after": true }],
"no-undef": "off",
"no-redeclare": "error",
"no-irregular-whitespace": "error",
"no-trailing-spaces": "error",
"no-useless-escape": "error",
"no-class-assign": "error",
"no-inner-declarations": "error",
"no-unreachable": "error",
"no-debugger": "off",
"no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"prefer-const": "error",
"eol-last": "error",
"indent": [
"error",
2
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
],
"space-before-blocks": "error",
"space-infix-ops": "error",
"space-before-function-paren": ["error", "never"]
}
}