Skip to content

Commit

Permalink
chore: add eslint-plugin-simple-import-sort
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelMakesGames committed Aug 21, 2024
1 parent 213f90a commit fe18ee2
Show file tree
Hide file tree
Showing 42 changed files with 99 additions and 143 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
'prettier',
],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
plugins: ['@typescript-eslint', 'simple-import-sort'],
parserOptions: {
sourceType: 'module',
ecmaVersion: 2020,
Expand Down Expand Up @@ -35,5 +35,7 @@ module.exports = {
'@typescript-eslint/prefer-nullish-coalescing': 'error',
'@typescript-eslint/strict-boolean-expressions': ['error', { allowNullableBoolean: true }],
'@typescript-eslint/no-unnecessary-condition': 'error',
'simple-import-sort/imports': 'error',
'simple-import-sort/exports': 'error',
},
};
Loading

0 comments on commit fe18ee2

Please sign in to comment.