Skip to content

Commit

Permalink
chore: simplified off rules (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
baixiaoyu2997 committed Jun 1, 2023
1 parent 84ae087 commit 0a9c9b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/eslint-config-basic/index.js
Expand Up @@ -240,7 +240,7 @@ module.exports = {
'no-debugger': 'error',
'no-console': ['error', { allow: ['warn', 'error'] }],
'no-cond-assign': ['error', 'always'],
'func-call-spacing': ['off', 'never'],
'func-call-spacing': 'off',
'key-spacing': ['error', { beforeColon: false, afterColon: true }],
'indent': ['error', 2, { SwitchCase: 1, VariableDeclarator: 1, outerIIFEBody: 1 }],
'no-restricted-syntax': [
Expand Down Expand Up @@ -327,7 +327,7 @@ module.exports = {
'array-callback-return': 'error',
'block-scoped-var': 'error',
'consistent-return': 'off',
'complexity': ['off', 11],
'complexity': 'off',
'eqeqeq': ['error', 'smart'],
'no-alert': 'warn',
'no-case-declarations': 'error',
Expand Down

0 comments on commit 0a9c9b0

Please sign in to comment.