forked from UniversityOfHelsinkiCS/oodikone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
52 lines (52 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
45
46
47
48
49
50
51
52
{
"root": true,
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"browser": true
},
"rules": {
"comma-dangle": [
2,
"never"
],
"no-param-reassign": [
2,
{
"props": false
}
],
"import/no-unresolved": 2,
"max-len": [1, 120],
"react/jsx-no-bind": 2,
"react/no-did-mount-set-state": 0,
"react/prefer-stateless-function": 2,
"react/no-typos": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/label-has-for": 0,
"object-curly-newline": "off",
"prefer-object-spread/prefer-object-spread": 2,
"prefer-arrow-callback": 2,
"babel/no-invalid-this": 2,
"lines-between-class-members": [2, "always"],
"no-plusplus": 0,
"babel/semi": [
2,
"never"
],
"semi": [
2,
"never"
],
"no-multiple-empty-lines": [1, { "max": 1, "maxEOF": 1 }],
"react-hooks/rules-of-hooks": "error"
},
"plugins": [
"react",
"import",
"prefer-object-spread",
"babel",
"react-hooks"
]
}