forked from skyblock-wiki/skyblock-wiki.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
51 lines (51 loc) · 1.96 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
{
"env": { "browser": true, "es2021": true },
"plugins": ["jsdoc"],
"extends": ["eslint:recommended", "plugin:jsdoc/recommended"],
"parserOptions": { "ecmaVersion": "latest", "sourceType": "module" },
"rules": {
"camelcase": ["warn"],
"default-case-last": ["warn"],
"default-case": ["warn"],
"default-param-last": ["warn"],
"dot-notation": ["warn"],
"eqeqeq": ["warn", "always"],
"indent": ["warn", 4, { "SwitchCase": 1 }],
"linebreak-style": ["warn", "unix"],
"no-await-in-loop": ["warn"],
"no-confusing-arrow": ["warn"],
"no-console": ["warn"],
"no-duplicate-imports": ["warn"],
"no-empty-function": ["warn"],
"no-eq-null": ["warn"],
"no-eval": ["warn"],
"no-floating-decimal": ["warn"],
"no-implied-eval": ["warn"],
"no-lone-blocks": ["warn"],
"no-lonely-if": ["warn"],
"no-multi-str": ["warn"],
"no-new-func": ["warn"],
"no-new-object": ["warn"],
"no-new-wrappers": ["warn"],
"no-return-await": ["warn"],
"no-template-curly-in-string": ["warn"],
"no-unneeded-ternary": ["warn"],
"no-unreachable-loop": ["warn"],
"no-unused-expressions": ["warn"],
"no-useless-concat": ["warn"],
"no-useless-rename": ["warn"],
"no-var": ["warn"],
"object-shorthand": ["warn", "always"],
"one-var-declaration-per-line": ["warn"],
"prefer-arrow-callback": ["warn"],
"prefer-const": ["warn"],
"prefer-destructuring": ["warn", { "array": false, "object": true }, { "enforceForRenamedProperties": false }],
"quotes": ["warn", "single", { "avoidEscape": true }],
"require-await": ["warn"],
"semi": ["warn", "always"],
"yoda": ["warn", "never"],
"jsdoc/no-undefined-types": ["warn"],
"jsdoc/require-returns-description": ["off"],
"jsdoc/valid-types": ["off"]
}
}