forked from adblockplus/adblockplus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
27 lines (27 loc) · 835 Bytes
/
.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
{
"extends": "eslint-config-eyeo",
"root": true,
"env": {
"browser": true,
"webextensions": true
},
"globals": {
"ext": true,
"require": true,
"module": true
},
"rules": {
// This rule was mistakenly added to eslint-config-eyeo in [1]
// so we have to temporarily disable it while we're searching for a
// solution in [2].
// [1]: https://gitlab.com/eyeo/auxiliary/eyeo-coding-style/-/issues/12
// [2]: https://gitlab.com/eyeo/auxiliary/eyeo-coding-style/-/issues/15
"arrow-parens": 0,
// @link https://issues.adblockplus.org/ticket/6581
// As long as issue 6581 is under discussion, ABP UI
// decided to put an end to all debates and use
// the `prefer-const` rule.
"prefer-const": ["error", {"destructuring": "all"}],
"no-prototype-builtins": 0
}
}