-
Notifications
You must be signed in to change notification settings - Fork 16
/
.eslintrc.js
47 lines (46 loc) · 1.08 KB
/
.eslintrc.js
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
module.exports = {
env: {
browser: true,
es2021: true,
greasemonkey: true,
jquery: true
},
extends: [
"standard"
],
parserOptions: {
ecmaVersion: 12
},
rules: {
"quotes": [ 1, "double", { allowTemplateLiterals: true } ],
"quote-props": [ 1, "consistent-as-needed" ],
"array-bracket-spacing": 0,
"no-tabs": 0,
"indent": [ 2, 4 ],
"no-mixed-operators": 0,
"camelcase": 0,
"one-var": 0,
"template-curly-spacing": 0,
"computed-property-spacing": [ 0, "always" ],
"curly": 0,
"space-unary-ops": 0,
"operator-linebreak": 0,
"comma-dangle": 0,
"no-case-declarations": 0,
"no-unused-vars": 1,
"no-extend-native": 0,
"object-property-newline": 0,
"no-multiple-empty-lines": [ 1, { max: 2, maxEOF: 1, maxBOF: 0 } ],
"brace-style": [ 2, "stroustrup", { allowSingleLine: true } ],
"no-fallthrough": 0,
"spaced-comment": 0,
"no-multi-spaces": 0,
"key-spacing": 0,
"no-sequences": 0,
"space-before-function-paren": 0
},
globals: {
marked: true,
filterXSS: true
}
}