Skip to content

Commit

Permalink
Update .eslintrc.js
Browse files Browse the repository at this point in the history
  • Loading branch information
smg6511 committed Oct 29, 2024
1 parent d5c7316 commit 5dbf124
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ module.exports = {
curly: ['error', 'all'],
eqeqeq: ['error', 'smart'],
'func-names': ['warn', 'as-needed'],
'guard-for-in': 'warn',
indent: ['error', 4, {
VariableDeclarator: 'first',
SwitchCase: 1
Expand All @@ -39,15 +40,19 @@ module.exports = {
code: 140,
ignoreComments: true
}],
'new-cap': 'warn',
'no-continue': 'warn',
'no-global-assign': 'warn',
'no-new': 'warn',
'no-param-reassign': 'warn',
'no-plusplus': ['error', {
'no-plusplus': ['warn', {
allowForLoopAfterthoughts: true
}],
'no-restricted-syntax': 'warn',
'no-underscore-dangle': 'warn',
'no-unused-vars': ['error', { args: 'none' }],
'no-use-before-define': ['error', 'nofunc'],
'no-useless-escape': 'warn',
'object-shorthand': ['error', 'consistent'],
'one-var': ['error', 'consecutive'],
'prefer-arrow-callback': 'warn',
Expand Down

0 comments on commit 5dbf124

Please sign in to comment.