-
Notifications
You must be signed in to change notification settings - Fork 7
/
.eslintrc
48 lines (44 loc) · 1007 Bytes
/
.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
{
"parser": "@typescript-eslint/parser",
"plugins": ["react"],
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"env": {
"browser": true,
"node": true,
"es6": true
},
"settings": {
"react": {
"pragma": "React",
"version": "16.0"
}
},
"rules": {
"no-unresovled":0,
"quotes": [2, "single"],
"eol-last": [0],
"no-mixed-requires": [0],
"no-underscore-dangle": [0],
"strict": 0,
"no-debugger": 0,
"indent": [1, 2],
"linebreak-style": ["error", "unix"],
"semi": ["error", "never"],
"comma-dangle": [0, "always"],
"no-cond-assign": ["error", "always"],
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/react-in-jsx-scope": 2,
"no-console": 0,
"no-dupe-args":2,
"no-dupe-keys":2,
"array-bracket-spacing": 2,
"camelcase": 2,
"comma-spacing": [0, {"before": false, "after": true}],
"no-self-assign": 2,
"no-extra-boolean-cast": 0
}
}