forked from nteract/nteract
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
45 lines (45 loc) · 1.02 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
{
"extends": [
"prettier",
"prettier/flowtype",
"plugin:react/recommended",
"plugin:jsx-a11y/recommended",
"plugin:react-perf/recommended"
],
"parser": "babel-eslint",
"plugins": [
"prettier",
"flowtype",
"react",
"jsx-a11y",
"react-perf",
"import"
],
"env": {
"browser": true,
"node": true,
"jest": true
},
"rules": {
"jsx-a11y/no-onchange": 0,
"jsx-a11y/anchor-has-content": 0,
"jsx-a11y/heading-has-content": 0,
"react/prop-types": 0,
"react/display-name": 0,
"react/no-unescaped-entities": 0,
"react/no-deprecated": 1,
"no-unused-vars": 2,
"react-perf/jsx-no-new-object-as-prop": "warn",
"react-perf/jsx-no-new-array-as-prop": "warn",
"react-perf/jsx-no-jsx-as-prop": "error",
"import/order": ["error", { "newlines-between": "always" }],
"import/newline-after-import": "error",
"import/no-duplicates": "warn"
},
"settings": {
"react": {
"version": "16.3.2",
"flowVersion": "0.81"
}
}
}