-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
50 lines (50 loc) · 1.09 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
44
45
46
47
48
49
50
{
"env": {
"node": true,
"es6": true,
"mocha": true
},
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 8,
"ecmaFeatures": {
"jsx": true
}
},
"extends": "airbnb",
"plugins": [
"react",
"import"
],
"rules": {
"import/extensions": 0,
"import/no-unresolved": [2, {"ignore": ["component", "model", "framework", "asset", "util"]}],
"comma-dangle": 0,
"import/no-extraneous-dependencies": 0,
"global-require": 0,
"no-plusplus": 0,
"arrow-parens": ["error", "as-needed"],
"class-methods-use-this": 0,
"no-console": 0,
"import/no-dynamic-require": 0,
"react/jsx-filename-extension": [1, { "extensions": ["js", "jsx"] }],
"no-underscore-dangle": 0,
"click-events-have-key-events": 0,
"no-param-reassign": 0,
"max-len": ["error", 120],
"max-statements-per-line": [
"error",
{
"max": 1
}
]
},
"globals": {
"EASY_ENV_IS_NODE": true,
"EASY_ENV_IS_DEV": true,
"document": true,
"window": true,
"fetch": true
}
}