forked from for-goodness-SAKE/wsi-project-two
-
Notifications
You must be signed in to change notification settings - Fork 0
/
conf.eslint.json
43 lines (43 loc) · 1.37 KB
/
conf.eslint.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
{
"settings": {
"_version": "Stolley Browser Config, v. 3.0.0, 20210303",
"_eslint_version": "7.22.0",
"_rules_url": "https://eslint.org/docs/rules/",
"_repo_url": "https://github.com/karlstolley/eslint-config"
},
"parserOptions": {
"ecmaVersion": 5
},
"env": {
"browser": true
},
"extends": "eslint:recommended",
"rules": {
"no-console": "off",
"no-template-curly-in-string": "error",
"no-var": "warn",
"block-scoped-var": "warn",
"brace-style": "warn",
"curly": ["warn", "all"],
"dot-location": ["warn", "property"],
"dot-notation": "warn",
"eqeqeq": ["warn", "always"],
"no-multi-spaces": ["warn", { "ignoreEOLComments": true, "exceptions": { "Property": true } }],
"no-sequences": "error",
"require-await": "error",
"vars-on-top": "error",
"yoda": "error",
"strict": ["error", "global"],
"no-undefined": "error",
"comma-dangle": ["warn", "never"],
"comma-spacing": ["warn", { "before": false, "after": true }],
"func-call-spacing": "warn",
"indent": ["warn", 2],
"linebreak-style": ["error", "unix"],
"multiline-comment-style": ["warn", "separate-lines"],
"newline-per-chained-call": ["warn", { "ignoreChainWithDepth": 2 }],
"spaced-comment": ["warn", "always"],
"semi": ["warn", "always"],
"semi-spacing": ["warn", {"before": false, "after": true}]
}
}