-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
45 lines (44 loc) · 1 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
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"modules": true,
"experimentalObjectRestSpread": true
}
},
"settings": {
"react": {
"createClass": "createReactClass",
"pragma": "React",
"version": "detect"
}
},
"extends": [
"airbnb",
"plugin:prettier/recommended",
"prettier/react"
],
"plugins": ["prettier", "react"],
"rules": {
"react/jsx-filename-extension": 0,
"react/jsx-no-bind": 0,
"prettier/prettier": ["error"],
"react/jsx-uses-vars": 1,
"no-unused-vars": "warn",
"react/prop-types": 0,
"import/prefer-default-export": 0,
"for-direction": 0,
"no-buffer-constructor": 0,
"no-compare-neg-zero": 0,
"getter-return": 0,
"lines-between-class-members": 0,
"jsx-a11y/label-has-associated-control": 0,
"jsx-a11y/label-has-for": 0,
"no-plusplus": [2, {
"allowForLoopAfterthoughts": true
}]
}
}