-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy path.eslintrc
34 lines (34 loc) · 948 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
{
"globals": {
"console": false
},
"env": {
"browser": true,
"node": true,
"mocha": true,
},
"extends": "airbnb",
"rules": {
"arrow-parens": ["error", "always"],
"class-methods-use-this": "off",
"comma-dangle": ['error', {
arrays: 'always-multiline',
objects: 'always-multiline',
imports: 'always-multiline',
exports: 'always-multiline',
functions: 'ignore',
}],
"func-names": "off",
"no-mixed-operators": "off",
"no-var": "off",
"no-console": "error",
"no-plusplus": "off",
"no-prototype-builtins": "off",
"no-underscore-dangle": "off",
"object-shorthand": "off",
"prefer-arrow-callback": "off",
"prefer-template": "off",
"space-before-function-paren": ["error", "never"],
"vars-on-top": "off",
}
}