forked from metabase/metabase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
68 lines (68 loc) · 1.69 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
58
59
60
61
62
63
64
65
66
67
68
{
"rules": {
"strict": [2, "never"],
"no-undef": 2,
"no-unused-vars": [1, {"vars": "all", "args": "none"}],
"import/no-commonjs": 1,
"quotes": 0,
"camelcase": 0,
"eqeqeq": 0,
"key-spacing": 0,
"no-underscore-dangle": 0,
"curly": 0,
"no-use-before-define": 0,
"comma-dangle": 0,
"space-infix-ops": 0,
"no-shadow": 0,
"no-empty": 0,
"no-extra-bind": 0,
"eol-last": 0,
"consistent-return": 0,
"yoda": 0,
"no-multi-spaces": 0,
"no-mixed-spaces-and-tabs": 0,
"no-alert": 0,
"no-console": 0,
"dot-notation": 0,
"space-unary-ops": 0,
"semi": 0,
"global-strict": 0,
"new-cap": 0,
"no-fallthrough": 0,
"no-useless-escape": 0,
"no-case-declarations": 0,
"react/no-is-mounted": 2,
"react/prefer-es6-class": 2,
"react/display-name": 1,
"react/prop-types": 0,
"react/no-did-mount-set-state": 0,
"react/no-did-update-set-state": 0,
"react/no-find-dom-node": 0,
"flowtype/define-flow-type": 1,
"flowtype/use-flow-type": 1
},
"globals": {
"pending": false
},
"env": {
"browser": true,
"es6": true,
"commonjs": true,
"jest": true
},
"parser": "babel-eslint",
"plugins": [
"react",
"flowtype"
],
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:import/errors",
"plugin:import/warnings"
],
"settings": {
"import/resolver": "webpack",
"import/ignore": ["\\.css$"]
}
}