Skip to content

Commit

Permalink
refactor: eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
nikkeyl committed Nov 25, 2024
1 parent ae6e71e commit 31b62af
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,16 @@ export default defineFlatConfig([
unicorn: unicornPlugin,
},
rules: {
'simple-import-sort/imports': 'error',
'simple-import-sort/exports': 'error',
'simple-import-sort/imports': 'warn',
'simple-import-sort/exports': 'warn',
'import/exports-last': 'error',
'import/extensions': ['error', { ts: 'always' }],
'import/group-exports': 'error',
'import/no-commonjs': 'error',
'import/no-default-export': 'off',
'import/no-namespace': 'error',
'import/no-unassigned-import': 'error',
'import/prefer-default-export': 'off',
'unicorn/no-unused-properties': 'error',
'unicorn/string-content': 'error',
'unicorn/no-unused-properties': 'warn',
},
},
prettierConfig,
Expand Down

0 comments on commit 31b62af

Please sign in to comment.