Skip to content

Commit abbf9e4

Browse files
committed
Eslint config update
1 parent c579b14 commit abbf9e4

File tree

1 file changed

+3
-27
lines changed

1 file changed

+3
-27
lines changed

generators/app/templates/eslintrc

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,36 +5,12 @@
55
"node": true,
66
"jquery": true
77
},
8-
"extends": ["airbnb-base", "prettier"],
98
"plugins": [
109
"dollar-sign"
1110
],
11+
"extends": ["airbnb-base", "prettier"],
1212
"rules": {
13-
"no-undef": 1,
14-
"no-unused-vars": 1,
15-
"eqeqeq": [2, "smart"],
16-
"no-floating-decimal": 2,
17-
"no-duplicate-imports": 2,
18-
"no-else-return": 2,
19-
"no-multi-spaces": [2, {
20-
"exceptions": {
21-
"ImportDeclaration": true,
22-
"VariableDeclarator": true
23-
}
24-
}],
25-
"no-multi-str": 2,
26-
"camelcase": 1,
27-
"eol-last": 1,
28-
"indent": [2, 2, {
29-
"SwitchCase": 1,
30-
"VariableDeclarator": 1
31-
}],
32-
"quotes": [2, "single", "avoid-escape"],
33-
"semi": [2, "always"],
34-
"space-before-blocks": 2,
35-
"space-before-function-paren": [2, "never"],
36-
"constructor-super": 2,
37-
"arrow-spacing": 2,
38-
"dollar-sign/dollar-sign": [2, "ignoreProperties"]
13+
"dollar-sign/dollar-sign": [2, "ignoreProperties"],
14+
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }]
3915
}
4016
}

0 commit comments

Comments
 (0)