forked from Automattic/sensei
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.wpcom.json
44 lines (44 loc) · 1.09 KB
/
.eslintrc.wpcom.json
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
{
"env": {
"browser": true,
"jquery": true,
"node": true,
"es6": true
},
"extends": "eslint:recommended",
"parser": "babel-eslint",
"plugins": [
"react"
],
"rules": {
"no-unsafe-finally": "off",
"no-native-reassign": "off",
"complexity": ["off", 11],
"require-yield": "error",
"no-compare-neg-zero": "off",
"no-useless-escape": "off",
"no-multi-spaces": ["off", {"ignoreEOLComments": true}],
"no-unused-vars": "off",
"no-redeclare": "off",
"no-undef": "off",
"no-mixed-spaces-and-tabs": "off",
"no-empty": "off",
"no-inner-declarations": "off",
"no-console": "off",
"no-extra-semi": "off",
"comma-dangle": "off",
"no-cond-assign": "off",
"no-constant-condition": "off",
"no-global-assign": "off",
"no-control-regex": "off",
"no-unexpected-multiline": "off",
"no-sparse-arrays": "off",
"no-regex-spaces": "off",
"no-unreachable": "off",
"no-fallthrough": "off",
"valid-typeof": "off",
"no-func-assign": "off",
"no-extra-boolean-cast": "off",
"no-self-assign": "off"
}
}