-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
54 lines (54 loc) · 1.56 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
{
"parser": "babel-eslint",
"extends": "airbnb",
"plugins": [
"react",
"flowtype"
],
"rules": {
"func-names": ["error", "never"],
"no-tabs": "off",
"global-require": "off",
"no-shadow": "off",
"key-spacing": "off",
"no-param-reassign": "off",
"no-restricted-syntax": ["error", "ForInStatement", "LabeledStatement", "WithStatement"],
"one-var": "off",
"eol-last": "off",
"comma-dangle": "off",
"indent": [2, "tab"],
"array-bracket-spacing": "off",
"object-property-newline": "off",
"no-unused-expressions": "warn",
"no-unused-vars": "warn",
"no-else-return": "off",
"no-use-before-define": "off",
"arrow-body-style": "off",
"one-var-declaration-per-line": "off",
"import/no-extraneous-dependencies": "off",
"import/no-named-as-default": "off",
"import/prefer-default-export": "off",
"react/require-default-props": "off",
"react/forbid-prop-types": "off",
"react/sort-comp": "off",
"react/no-unused-prop-types": "off",
"react/no-array-index-key": "off",
"react/prefer-stateless-function": "off",
"react/jsx-filename-extension": "off",
"react/jsx-indent-props": "off",
"react/jsx-wrap-multilines": "off",
"react/jsx-indent": "off",
"react/jsx-closing-bracket-location": "off",
"react/jsx-closing-tag-location": "off",
"react/jsx-space-before-closing": "off",
"react/jsx-tag-spacing": "off"
},
"globals": {
"localStorage": true,
"window": true,
"Paho": true,
"Headers": true,
"fetch": true,
"document": true
}
}