-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
49 lines (49 loc) · 1.43 KB
/
.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
49
{
"parser": "babel-eslint",
"extends": ["airbnb", "prettier", "prettier/react"],
"rules": {
"linebreak-style": [0 ,"error", "windows"],
"react/jsx-filename-extension": [
1,
{
"extensions": [".js", ".jsx"]
}
],
"react/no-array-index-key": "off",
"import/prefer-default-export": "off",
"prettier/prettier": "error",
"react/prefer-stateless-function": "off",
"no-use-before-define": "off",
"react/jsx-closing-bracket-location": "off",
"react/jsx-curly-spacing": "off",
"react/jsx-equals-spacing": "off",
"react/jsx-first-prop-new-line": "off",
"react/jsx-indent": "off",
"react/jsx-indent-props": "off",
"react/jsx-max-props-per-line": "off",
"react/jsx-tag-spacing": "off",
"react/jsx-wrap-multilines": "off",
"no-useless-concat": "off",
"react/prop-types": "off",
"react/destructuring-assignment": "off",
"no-underscore-dangle": "off",
"react/no-unescaped-entities": "off",
"react/forbid-prop-types": "off",
"jsx-a11y/anchor-is-valid": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": "off",
"no-param-reassign": "off",
"react/button-has-type": "off"
},
"plugins": ["prettier"],
"globals": {
"localStorage": true,
"window": true,
"document": true,
"Event": true,
"FormData": true,
"navigator": true,
"fetch": true,
"it": true
}
}