Skip to content

Commit

Permalink
refactor: eslint config (#93)
Browse files Browse the repository at this point in the history
Co-authored-by: nikkeyl <[email protected]>
  • Loading branch information
github-actions[bot] and nikkeyl authored Nov 25, 2024
1 parent 1770f76 commit ad8a692
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 ad8a692

Please sign in to comment.