-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
39 lines (39 loc) · 1.18 KB
/
.eslintrc.json
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
{
"extends": "airbnb-base",
"plugins": [],
"rules": {
"no-mixed-operators": 0,
"strict": 0,
"no-var": "off",
"global-require": "off",
"no-use-before-define": [ "warn", { "functions": false } ],
"arrow-body-style": [ "off", "as-needed", { "requireReturnForObjectLiteral": true } ],
"comma-dangle": "off",
"arrow-parens": [ "error", "always" ],
"eqeqeq": ["error", "smart"],
"no-plusplus": "off",
"no-script-url": "off",
"no-continue": "warn",
"no-underscore-dangle": "warn",
"prefer-template": "warn",
"space-infix-ops": "off",
"consistent-return": "off",
"no-param-reassign": ["warn", { "props": false }],
"no-unused-vars": ["error", { "args": "none" }],
"func-names": ["off"],
"no-console": "off",
"object-curly-newline": ["warn", {
"ObjectExpression": "always",
"ObjectPattern": { "consistent": true }
}],
"import/no-extraneous-dependencies": ["warn"],
"import/no-unresolved": "warn",
"camelcase": "off"
},
"globals": {
"window": true,
"document": true,
"$": true,
"console": true
}
}