Skip to content

Commit 4443ab0

Browse files
author
Roy Portas
committed
Added updated eslint config
1 parent 894c678 commit 4443ab0

File tree

1 file changed

+48
-49
lines changed

1 file changed

+48
-49
lines changed

template/.eslintrc.json

+48-49
Original file line numberDiff line numberDiff line change
@@ -8,53 +8,52 @@
88
"sourceType": "module"
99
},
1010
"rules": {
11-
"comma-dangle": [
12-
"error",
13-
"never"
14-
],
15-
"indent": [
16-
"error",
17-
4
18-
],
19-
"no-trailing-spaces": [
20-
"error",
21-
{
22-
"skipBlankLines": true
23-
}
24-
],
25-
"no-empty-label": "off",
26-
"keyword-spacing": "error",
27-
"no-mixed-spaces-and-tabs": "error",
28-
"no-unused-vars": "off",
29-
"arrow-body-style": [
30-
"error",
31-
"as-needed", {
32-
"requireReturnForObjectLiteral": true
33-
}
34-
],
35-
"arrow-parens": [
36-
"error",
37-
"as-needed"
38-
],
39-
"linebreak-style": "off",
40-
"quotes": [
41-
"error",
42-
"double",
43-
{
44-
"allowTemplateLiterals": true
45-
}
46-
],
47-
"require-jsdoc": "off",
48-
"max-len": [
49-
"error",
50-
80,
51-
{
52-
"ignoreComments": true
53-
}
54-
],
55-
"object-curly-spacing": [
56-
"error",
57-
"always"
58-
]
11+
"comma-dangle": [
12+
"error",
13+
"never"
14+
],
15+
"indent": [
16+
"error",
17+
4
18+
],
19+
"no-invalid-this": [
20+
0
21+
],
22+
"no-trailing-spaces": [
23+
"error",
24+
{
25+
"skipBlankLines": true
26+
}
27+
],
28+
"no-empty-label": "off",
29+
"keyword-spacing": "error",
30+
"space-before-function-paren": [
31+
"error",
32+
"never"
33+
],
34+
"no-mixed-spaces-and-tabs": "error",
35+
"arrow-body-style": [
36+
"error"
37+
],
38+
"quotes": [
39+
"error",
40+
"double",
41+
{
42+
"allowTemplateLiterals": true
43+
}
44+
],
45+
"require-jsdoc": "warn",
46+
"valid-jsdoc": "warn",
47+
"max-len": [
48+
"error",
49+
120,
50+
{
51+
"ignoreComments": true
52+
}
53+
],
54+
"object-curly-spacing": [
55+
"error",
56+
"always"
57+
]
5958
}
60-
}
59+
}

0 commit comments

Comments
 (0)