Skip to content

Commit

Permalink
refactor(eslint): add new rules (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Apr 8, 2024
1 parent a106b68 commit d90ba4b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import unicorn from 'eslint-plugin-unicorn';

export default defineFlatConfig([
...extend(
'airbnb-base',
'airbnb-typescript/base',
'plugin:import/recommended',
'plugin:import/typescript',
Expand Down Expand Up @@ -37,8 +38,10 @@ export default defineFlatConfig([
'import/extensions': ['error', { ts: 'always' }],
'import/group-exports': 'error',
'import/no-commonjs': 'error',
'import/no-default-export': 'error',
'import/no-namespace': 'error',
'import/no-unassigned-import': 'error',
'import/prefer-default-export': 'off',
'unicorn/no-unused-properties': 'error',
'unicorn/string-content': 'error',
},
Expand Down

0 comments on commit d90ba4b

Please sign in to comment.