-
Notifications
You must be signed in to change notification settings - Fork 13
/
.eslintrc.json
70 lines (70 loc) · 987 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
67
68
69
70
{
"extends": [
"plugin:@wordpress/eslint-plugin/recommended",
"plugin:eslint-comments/recommended"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"jsx": true,
"arrowFunctions": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"modules": true
},
"sourceType": "module"
},
"env": {
"es6": true,
"browser": true,
"node": true,
"commonjs": true,
"jquery": true
},
"rules": {
"camelcase": [
1
],
"space-in-parens": [
1,
"always"
],
"no-trailing-spaces": [
1
],
"spaced-comment": [
0
],
"padded-blocks": [
0
],
"prefer-template": [
0
],
"max-len": [
0
],
"no-else-return": [
0
],
"func-names": [
0
],
"object-shorthand": [
0
],
"indent": [
"error",
"tab"
],
"space-before-function-paren": 0,
"no-tabs": 0,
"prefer-destructuring": 0,
"no-undef": 0,
"no-param-reassign": 0,
"comma-dangle": 0,
"lines-around-comment": 0
}
}