-
Notifications
You must be signed in to change notification settings - Fork 11
/
.eslintrc
39 lines (39 loc) · 1.04 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
{
"parser": "babel-eslint",
"env": {
"node": true,
"browser": true
},
"plugins": ["flowtype"],
"extends": [
"airbnb",
"plugin:flowtype/recommended",
"prettier",
"prettier/react",
"prettier/flowtype"
],
"rules": {
"react/prefer-stateless-function": "off",
"new-cap": "off",
"react/no-find-dom-node": "off",
"react/destructuring-assignment": "off",
"react/require-default-props": "off",
"react/default-props-match-prop-types": "off",
"react/prop-types": "off",
"arrow-body-style": "off",
"no-underscore-dangle": "off",
"no-unused-expressions": [
2,
{
"allowShortCircuit": true
}
],
"import/no-extraneous-dependencies": ["error", { "devDependencies": ["stories/**/*.js?"] }],
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/alt-text": "off",
"jsx-a11y/no-autofocus": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"jsx-a11y/label-has-for": "off"
}
}