-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc.dev.json
More file actions
44 lines (44 loc) · 1.19 KB
/
.eslintrc.dev.json
File metadata and controls
44 lines (44 loc) · 1.19 KB
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
{
"env": {
"es6": true,
"node": true,
"mocha": true
},
"extends": "airbnb",
"rules": {
"import/no-extraneous-dependencies": "off",
"import/extensions": "off",
"import/no-unresolved": "off",
"no-plusplus": ["error", {
"allowForLoopAfterthoughts": true
}],
"max-len": "off",
"class-methods-use-this": "off",
"no-underscore-dangle": "off",
"react/prop-types": "off",
"react/jsx-filename-extension": "off",
"react/jsx-max-props-per-line": "off",
"react/no-did-mount-set-state": "off",
"object-curly-newline": "off",
"react/sort-comp": "off",
"jsx-a11y/alt-text": "off",
"no-unused-vars": ["warn"],
"padded-blocks": ["warn"],
"no-multi-spaces": ["warn"],
"no-undef": ["warn"],
"comma-dangle": ["warn"],
"no-useless-return": ["warn"],
"indent": ["warn"],
"arrow-parens": ["warn"],
"quotes": ["warn"],
"no-trailing-spaces": ["warn"],
"prefer-const": ["warn"],
"quote-props": ["warn"],
"no-use-before-define": ["warn"],
"semi": ["warn"],
"no-empty": ["warn"],
"no-multiple-empty-lines": ["warn"],
"object-shorthand": ["warn"],
"prefer-destructuring": ["warn"]
}
}