forked from sergiokas/Extensity
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc.json
More file actions
53 lines (53 loc) · 1.32 KB
/
Copy path.eslintrc.json
File metadata and controls
53 lines (53 loc) · 1.32 KB
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
{
"extends": "eslint:recommended",
"env": {
"browser": true,
"es6": true,
"webextensions": true
},
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "script"
},
"globals": {
"ko": "readonly",
"_": "readonly",
"chrome": "readonly"
},
"rules": {
"no-unused-vars": ["warn", {
"args": "none",
"varsIgnorePattern": "^(fadeOutMessage|DismissalsCollection|OptionsCollection|ProfileModel|ProfileCollectionModel|ExtensionModel|ExtensionCollectionModel|boolean|RESERVED_PROFILES|init|visitedProfiles)$"
}],
"no-console": "off",
"no-extra-semi": "warn"
},
"overrides": [
{
"files": ["js/migration.js"],
"globals": {
"importScripts": "readonly",
"RESERVED_PROFILES": "readonly"
}
},
{
"files": ["js/engine.js"],
"globals": {
"RESERVED_PROFILES": "readonly"
}
},
{
"files": ["js/index.js", "js/options.js", "js/profiles.js"],
"globals": {
"fadeOutMessage": "readonly",
"DismissalsCollection": "readonly",
"OptionsCollection": "readonly",
"ProfileModel": "readonly",
"ProfileCollectionModel": "readonly",
"ExtensionModel": "readonly",
"ExtensionCollectionModel": "readonly",
"RESERVED_PROFILES": "readonly"
}
}
]
}