-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.js
55 lines (54 loc) · 1.56 KB
/
.eslintrc.js
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
51
52
53
54
55
module.exports = {
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"react"
],
"rules": {
"no-underscore-dangle": 0,
"import/prefer-default-export": 0,
"arrow-parens": [1, "always"],
"class-methods-use-this": 0,
"no-case-declarations": 0,
"import/no-named-as-default": 0,
"new-cap": 0,
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"no-useless-constructor": 0,
"linebreak-style": 0,
"eol-last": 0,
"object-curly-newline": 0,
"no-unused-vars": 0,
"global-require": 0,
"comma-dangle": 0,
"max-len": 0,
"dot-notation": 0,
"spaced-comment": 0,
"no-undef": 0,
"no-unused-expressions": 0,
"react/forbid-prop-types": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/jsx-no-bind": 0,
"react/destructuring-assignment": 0,
"react/prop-types": 0,
"react/no-unescaped-entities": 0,
"react/jsx-no-duplicate-props": 0,
"react/jsx-max-props-per-line": 0,
"react/jsx-one-expression-per-line": 0,
"react/prefer-stateless-function" : 0,
"react/require-default-props": 0,
}
};