forked from danoninho1234/ptchina
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
59 lines (59 loc) · 1.38 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
52
53
54
55
56
57
58
59
{
"ignorePatterns": [
"docker/", "tmp/", "static/", "gulp/res/css/", "gulp/res/icons/", "gulp/res/img/", "tools/", "views/", "node_modules/",
"gulp/res/js/pugfilters.js",
"gulp/res/js/locals.js",
"gulp/res/js/post.js",
"gulp/res/js/modal.js",
"gulp/res/js/uploaditem.js",
"gulp/res/js/pugfilter.js",
"gulp/res/js/captchaformsection.js",
"gulp/res/js/watchedthread.js",
"gulp/res/js/threadwatcher.js",
"gulp/res/js/socket.io.js",
"gulp/res/js/tegaki.js"
],
"env": {
"node": true,
"browser": true,
"commonjs": true,
"es2021": true,
"jest/globals": true
},
"plugins": [
"jest"
],
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": "latest"
},
"rules": {
"brace-style": [
"error",
"1tbs",
{ "allowSingleLine": true }
],
"indent": [
"error",
"tab",
{ "SwitchCase": 1, "ignoreComments": true, "MemberExpression": 1 }
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
],
"curly": ["error"],
"no-multiple-empty-lines": ["error", { "max": 1 }],
"no-template-curly-in-string": [
"error"
]
}
}