Skip to content

Commit

Permalink
feat(recommended): disable some rules
Browse files Browse the repository at this point in the history
  • Loading branch information
capitnflam committed Mar 20, 2024
1 parent 381cfd4 commit dd5e3ce
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/configs/recommended.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ export const recommended: ESLintConfig = {
warnOnUnassignedImports: true,
},
],
'unicorn/no-array-reduce': 'off',
'unicorn/no-null': 'off',
'unicorn/prefer-top-level-await': 'off',
'unicorn/prefer-string-replace-all': 'off',
},
overrides: [
{
Expand All @@ -63,5 +67,11 @@ export const recommended: ESLintConfig = {
},
},
},
{
files: ['*.js'],
rules: {
'unicorn/prefer-module': 'off',
},
},
],
}

0 comments on commit dd5e3ce

Please sign in to comment.