-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc.json
44 lines (44 loc) · 1.08 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
{
"env": {
"browser": true,
"es6": true
},
"extends": ["eslint:recommended", "plugin:react/recommended", "prettier"],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly",
"React": "readonly",
"ReactDOM": "readonly",
"arguments": "readonly"
},
"settings": {
"react": {
"version": "16.0"
}
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"module": true
},
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": ["react", "prettier", "babel"],
"parser": "babel-eslint",
"rules": {
"quotes": "off",
"react/prop-types": 0,
"prettier/prettier": ["error"],
"babel/new-cap": 1,
"babel/camelcase": 1,
"babel/no-invalid-this": 1,
"babel/quotes": 0,
"babel/semi": 1,
"babel/no-unused-expressions": 1,
"babel/valid-typeof": 1,
"babel/camelcase": 0,
"babel/new-cap": 0,
"no-useless-escape": 0
}
}