forked from ghostery/ghostery-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
62 lines (62 loc) · 1.43 KB
/
.eslintrc.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"extends": "airbnb",
"env": {
"browser": true,
"es6": true,
"amd": true,
"jest": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
},
"globals": {
"chrome": true,
"t": true
},
"rules": {
"linebreak-style": [0],
"no-tabs": [0],
"indent": ["warn", "tab", {
"SwitchCase": 1
}],
"react/jsx-indent": ["warn", "tab", {
"SwitchCase": 1
}],
"react/jsx-indent-props": [1, "tab"],
"function-paren-newline": [0],
"func-names": [0],
"no-unused-vars": [1],
"no-plusplus": [0],
"no-control-regex": [0],
"no-useless-escape": [0],
"import/prefer-default-export": [0],
"class-methods-use-this": [0],
"no-restricted-syntax": [0],
"no-mixed-operators": [0],
"camelcase":[0],
"no-param-reassign": [2, { "props": false }],
"react/prop-types": [0],
"max-len": [0],
"no-nested-ternary": [0],
"no-underscore-dangle": [0],
"no-prototype-builtins": [0],
"react/no-danger": [0],
"jsx-a11y/alt-text": [0],
"jsx-a11y/no-static-element-interactions": [0],
"jsx-a11y/no-noninteractive-element-interactions": [0],
"jsx-a11y/click-events-have-key-events": [0],
"jsx-a11y/anchor-is-valid": [0],
"jsx-a11y/label-has-for": [0],
"jsx-a11y/mouse-events-have-key-events": [0],
"comma-dangle": ["error", {
"arrays": "only-multiline",
"objects": "only-multiline",
"functions": "ignore"
}]
}
}