-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
45 lines (45 loc) · 1.22 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",
"extends": ["airbnb", "plugin:prettier/recommended", "prettier/react"],
"plugins": ["prettier", "react"],
"env": {
"es6": true,
"node": true,
"browser": true
},
"globals": {
"__ENV__": "readonly"
},
"rules": {
"prettier/prettier": ["error", { "singleQuote": true }],
"react/jsx-filename-extension": [
1,
{
"extensions": [".js", ".jsx"]
}
],
"consistent-return": "off",
"react/prefer-stateless-function": "off",
"react/forbid-prop-types": "off",
"react/require-default-props": "off",
"react/destructuring-assignment": "off",
"react/jsx-props-no-spreading": "off",
"import/order": "off",
"import/no-unresolved": "off",
"import/prefer-default-export": "off",
"linebreak-style": "off",
"no-nested-ternary": "off",
"no-new": "off",
"no-console": "off",
"no-plusplus": "off",
"no-shadow": "off",
"no-else-return": "off",
"no-unused-vars": "warn",
"no-unused-expressions": "off",
"camelcase": "off",
"prefer-template": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/click-events-have-key-events": "off",
"react/self-closing-comp": "off"
}
}