-
Notifications
You must be signed in to change notification settings - Fork 131
/
Copy path.eslintrc.json
50 lines (49 loc) · 1.28 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"env": {
"browser": true,
"es2021": true,
"mocha": true
},
"extends": ["airbnb-base", "eslint:recommended"],
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"rules": {
"linebreak-style": [1, "unix"],
"newline-per-chained-call": [0],
"semi": [1, "always"],
"brace-style": 1,
"class-methods-use-this": 0,
"comma-spacing": 1,
"comma-dangle": [1, "never"],
"eol-last": [0],
"key-spacing": 1,
"no-mixed-requires": [0],
"no-underscore-dangle": [0],
"no-extra-parens": 0,
"no-mixed-spaces-and-tabs": 1,
"no-trailing-spaces": 1,
"no-restricted-globals": 0,
"no-undef": 0,
"no-unused-vars": 1,
"object-curly-spacing": 0,
"object-shorthand": 0,
"space-before-function-paren": 0,
"space-infix-ops": 1,
"import/no-commonjs": 0,
"import/imports-first": 1,
"import/extensions": 0,
"import/no-extraneous-dependencies": [
1,
{
"devDependencies": true,
"optionalDependencies": false,
"peerDependencies": false
}
],
"jsx-a11y/href-no-hash": 0,
"react/prefer-es6-class": [0, "never"],
"react/prefer-stateless-function": 0
}
}