-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
48 lines (48 loc) · 1.33 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
{
"extends": "airbnb",
"overrides": [{
"files": ["lib/public/*", "lib/views/*"],
"env": {
"browser": true
},
"globals": {
"config": "readonly"
},
"rules": {
"no-console": "off"
}
}],
"rules": {
"arrow-body-style": "off",
"arrow-parens": ["error", "as-needed"],
"max-classes-per-file": "off",
"comma-dangle": ["error", "never"],
"consistent-return": "off",
"default-case": "off",
"func-names": "off",
"guard-for-in": "off",
"import/prefer-default-export": "off",
"indent": ["error", "tab"],
"no-await-in-loop": "off",
"no-bitwise": "off",
"no-mixed-operators": "off",
"no-nested-ternary": "off",
"no-param-reassign": "off",
"no-plusplus": "off",
"no-restricted-syntax": "off",
"no-shadow": "off",
"no-tabs": "off",
"no-underscore-dangle": ["error", { "allow": ["_id", "_rev"] }],
"no-unused-vars": ["error", { "args": "none" }],
"no-use-before-define": "off",
"object-curly-newline": "off",
"react/jsx-filename-extension": "off",
"react/jsx-indent": ["error", "tab"],
"react/jsx-indent-props": ["error", "tab"],
"react/jsx-max-props-per-line": "off",
"react/no-array-index-key": "off",
"react/no-string-refs": "off",
"react/no-find-dom-node": "off",
"react/prop-types": "off",
}
}