-
Notifications
You must be signed in to change notification settings - Fork 21
/
.eslintrc.json
44 lines (44 loc) · 995 Bytes
/
.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
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
"indent": ["error", 2],
"arrow-parens": ["error", "always"],
"max-len": [
"warn",
{
"code": 100,
"ignoreRegExpLiterals": true,
"ignoreStrings": true,
"ignoreUrls": true,
"ignoreTemplateLiterals": true
}
],
"no-var": 1,
"no-useless-concat": 1,
"no-useless-constructor": 1,
"object-curly-spacing": [1, "never"],
"prefer-const": 1,
"prefer-template": 1,
"react/display-name": 0,
"react/no-deprecated": 0,
"require-jsdoc": 0,
"semi": ["error", "always"],
"quotes": ["error", "single"],
"quote-props": ["error", "consistent"],
"template-curly-spacing": [1, "never"],
"linebreak-style": 0
}
}