-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
35 lines (35 loc) · 1.02 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
{
"extends": "airbnb",
"plugins": [
"import"
],
"rules": {
"no-console": 0,
"comma-dangle": ["error", {
"arrays": "never",
"exports": "always",
"functions": "ignore",
"imports": "always",
"objects": "never"
}],
"consistent-return": "error",
"func-names": ["error", "never"],
"global-require": "warn",
"guard-for-in": "off",
"import/no-dynamic-require": "off",
"import/no-extraneous-dependencies": ["error", {
"devDependencies": true
}],
"object-curly-newline": ["error", { "consistent": true }],
"indent": ["error", 4, { "MemberExpression": 0 }],
"jsx-a11y/href-no-hash": "off",
"newline-after-import": "off",
"no-param-reassign": ["error", {
"props": false
}],
"no-restricted-syntax": "off",
"no-underscore-dangle": "off",
"no-use-before-define": "off",
"strict": "off"
}
}