-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy path.eslintrc.json [DEPRECATED]
More file actions
61 lines (61 loc) · 1.46 KB
/
.eslintrc.json [DEPRECATED]
File metadata and controls
61 lines (61 loc) · 1.46 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
54
55
56
57
58
59
60
61
{
"root": true,
"env": {
"browser": true,
"es6": true,
"greasemonkey": true,
"jquery": true
},
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "script",
"ecmaFeatures": {
"globalReturn ": true,
"impliedStrict": true
}
},
"extends": [
"eslint:recommended",
"plugin:css/recommended",
"plugin:jsonc/recommended-with-json",
"plugin:no-jquery/deprecated",
"plugin:regexp/recommended"
],
"plugins": [
"css",
"jsonc",
"no-jquery",
"regexp"
],
"rules": {
"complexity": ["warn", 20],
"eqeqeq": "warn",
"func-style": "off",
"indent": ["warn","tab", { "ignoreComments": false, "SwitchCase": 1 } ],
"linebreak-style": ["warn","unix"],
"max-len": "off",
"max-statements-per-line": "off",
"new-cap": "off",
"no-alert": "warn",
"no-console": "warn",
"no-dupe-keys": "warn",
"no-extra-semi": "warn",
"no-inline-comments": "off",
"no-magic-numbers": "off",
"no-misleading-character-class": "warn",
"no-mixed-spaces-and-tabs": "warn",
"no-multiple-empty-lines": "off",
"no-tabs": "off",
"no-unused-labels": "warn",
"no-unused-vars": ["warn", {"vars": "all", "args": "after-used"}],
"no-useless-escape": "warn",
"padded-blocks": "off",
"quotes": ["warn", "single", { "allowTemplateLiterals": true }] ,
"require-jsdoc": "off",
"require-unicode-regexp": "off",
"semi": ["warn","always"],
"space-before-function-paren": "off",
"unicode-bom": ["warn", "never"]
},
"reportUnusedDisableDirectives": true
}