-
Notifications
You must be signed in to change notification settings - Fork 6
/
.eslintrc.js
36 lines (35 loc) · 975 Bytes
/
.eslintrc.js
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
module.exports = {
"extends": "airbnb-base",
"env": {
"es6": true
},
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
"quotes": ["error", "double"],
"max-len": ["error", { "code": 200 }],
// Consider re-enabling (some of) following rules
// Right now, disabled to avoid massive reformatting
"arrow-body-style": "off",
"no-use-before-define": "off",
"arrow-parens": ["error", "as-needed"],
"default-case": "off",
"implicit-arrow-linebreak": "off",
"function-paren-newline": "off",
"no-return-await": "off",
"consistent-return": "off",
"comma-dangle": "off",
"no-console": "off",
"no-var": "off",
"operator-linebreak": "off",
"no-restricted-syntax": "off",
"prefer-template": "off",
"object-curly-newline": "off",
"nonblock-statement-body-position": "off",
"camelcase": "off",
"no-underscore-dangle": "off",
"vars-on-top": "off",
"no-shadow": "off"
}
};