Skip to content

Commit

Permalink
perf(rules): turn off no-def
Browse files Browse the repository at this point in the history
  • Loading branch information
akinoccc committed Jul 19, 2024
1 parent 5a2a2cf commit a2ae19b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,14 @@ const defineConfig = (config: AirBeConfig, ...customFlatConfigs: EslintFlagConfi
if (js) {
const jsRules: Linter.RulesRecord = {
...eslint.configs.recommended.rules,
'no-def': 'off',

'quotes': ['error', 'single'],
'semi': ['error', 'never'],
'indent': ['error', 2],
'eqeqeq': ['error', 'always'],
'curly': ['error', 'multi', 'consistent'],

'default-case': 'warn',
'default-case-last': 'warn',
'no-await-in-loop': 'warn',
Expand Down

0 comments on commit a2ae19b

Please sign in to comment.