forked from nteract/nteract
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
57 lines (57 loc) · 1.4 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
50
51
52
53
54
55
56
57
{
"parser": "babel-eslint",
"plugins": [
"flowtype"
],
"extends": "airbnb",
"env": {
"browser": true,
"node": true,
"mocha": true
},
"rules": {
"camelcase": [0],
"no-console": [2, { allow: ["warn", "error"] }],
"no-underscore-dangle": [0],
"import/prefer-default-export": [0],
"import/no-named-as-default": [0],
"react/forbid-prop-types": [0],
"import/no-duplicates": [1],
"no-duplicate-imports": [0],
"react/no-find-dom-node": [0],
"jsx-a11y/no-static-element-interactions": [0],
"react/require-extension": "off",
"comma-dangle": [0],
"flowtype/define-flow-type": 2,
"no-unused-expressions": [0, { allowTernary: true }],
"react/no-unused-prop-types": [0],
"react/jsx-filename-extension": "off",
"react/require-default-props": [0],
"react/no-array-index-key": [0],
"jsx-a11y/img-has-alt": [0],
"import/extensions": [0, { "js": "never", "jsx": "never"}],
"max-len": [
2,
100, {
"ignoreComments": true,
"ignoreTrailingComments": true,
"ignoreUrls": true,
"ignoreTemplateLiterals": true
}
],
"react/sort-comp": [
1, {
order: [
'type-annotations',
'static-methods',
'lifecycle',
'everything-else',
'render'
]
}
],
},
"settings": {
"import/core-modules": ["electron"],
}
}