-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
43 lines (43 loc) · 1.04 KB
/
.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
{
"extends": ["airbnb-base"],
"plugins": [
"import"
],
"env": {
"node": true,
"mocha": true
},
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module",
"ecmaFeatures": {
"impliedStrict": false
}
},
"rules": {
"no-console": 0,
"comma-dangle": 0,
"new-cap": 0,
"global-require": 0,
"no-use-before-define": ["error", { "functions": false }],
"prefer-template": 0,
"no-underscore-dangle": 0,
"no-shadow": 0,
"no-param-reassign": ["error", { "props": false }],
"import/no-extraneous-dependencies": 0,
"consistent-return": 0,
"no-unused-vars": ["error", { "argsIgnorePattern": "^next" }],
"strict": ["error", "safe"],
"newline-per-chained-call": ["error", { "ignoreChainWithDepth": 6 }],
"func-names": ["error", "as-needed"],
"prefer-arrow-callback": ["warn", { "allowNamedFunctions": true }],
"keyword-spacing": 0,
"spaced-comment": 0,
"no-unreachable": 0
},
"settings": {
"import/resolver": {
"babel-module": {}
}
}
}