We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c888284 commit 70babceCopy full SHA for 70babce
.eslintrc.js
@@ -31,6 +31,7 @@ module.exports = {
31
curly: ['error', 'all'],
32
eqeqeq: ['error', 'smart'],
33
'func-names': ['warn', 'as-needed'],
34
+ 'guard-for-in': 'warn',
35
indent: ['error', 4, {
36
VariableDeclarator: 'first',
37
SwitchCase: 1
@@ -39,15 +40,19 @@ module.exports = {
39
40
code: 140,
41
ignoreComments: true
42
}],
43
+ 'new-cap': 'warn',
44
'no-continue': 'warn',
45
+ 'no-global-assign': 'warn',
46
'no-new': 'warn',
47
'no-param-reassign': 'warn',
- 'no-plusplus': ['error', {
48
+ 'no-plusplus': ['warn', {
49
allowForLoopAfterthoughts: true
50
51
+ 'no-restricted-syntax': 'warn',
52
'no-underscore-dangle': 'warn',
53
'no-unused-vars': ['error', { args: 'none' }],
54
'no-use-before-define': ['error', 'nofunc'],
55
+ 'no-useless-escape': 'warn',
56
'object-shorthand': ['error', 'consistent'],
57
'one-var': ['error', 'consecutive'],
58
'prefer-arrow-callback': 'warn',
0 commit comments