forked from 10up/wp-local-docker-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
66 lines (66 loc) · 865 Bytes
/
.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
60
61
62
63
64
65
66
{
"extends": "@10up/eslint-config",
"env": {
"es6": true,
"node": true,
"jest": true
},
"rules": {
"array-bracket-spacing": [
"error",
"always"
],
"camelcase": [
"error",
{
"allow": [
"depends_on",
"mem_limit",
"mem_reservation",
"cap_add"
]
}
],
"indent": [
"error",
"tab",
{
"SwitchCase": 1
}
],
"no-constant-condition": [
"error",
{
"checkLoops": false
}
],
"no-console": "off",
"no-empty": [
"error",
{
"allowEmptyCatch": true
}
],
"no-trailing-spaces": "error",
"object-curly-spacing": [
"error",
"always"
],
"prefer-destructuring": [
"error",
{
"array": false,
"object": true
}
],
"require-jsdoc": "off",
"template-curly-spacing": [
"error",
"always"
],
"yoda": [
"error",
"never"
]
}
}