-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
36 lines (36 loc) · 973 Bytes
/
.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
{
"env": {
"commonjs": true,
"es6": true,
"node": true,
"browser": true
},
"extends": [
"airbnb",
"eslint:recommended",
"plugin:react/recommended",
"plugin:prettier/recommended",
"plugin:flowtype/recommended"
],
"parserOptions": {
"ecmaVersion": 2018
},
"plugins": ["flowtype", "prettier"],
"rules": {
"no-console": "warn",
"quote-props": ["error", "consistent"],
"react/default-props-match-prop-types": ["warn", {"allowRequiredDefaults": false}],
"react/require-default-props": 0,
"react/jsx-props-no-spreading": 0,
"no-unused-vars": "error",
"no-unused-expressions": "off",
"import/prefer-default-export": 0,
"react/jsx-filename-extension": 0,
"react/prop-types": 0,
"react/react-in-jsx-scope": 0,
"jsx-a11y/click-events-have-key-events": 0,
"react/destructuring-assignment": 0,
"react/display-name": 0,
"jsx-a11y/no-static-element-interactions": 0
}
}