Skip to content

Commit

Permalink
fix: use eslint-config-prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
limonte committed Aug 1, 2024
1 parent 48e5907 commit 0ae6c3f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.mjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import eslint from '@eslint/js'
import tseslint from 'typescript-eslint'
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'
import eslintConfigPrettier from 'eslint-config-prettier'
import globals from 'globals'

export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
eslintPluginPrettierRecommended,
{
rules: {
'@typescript-eslint/consistent-type-imports': [
Expand All @@ -28,5 +27,6 @@ export default tseslint.config(
...globals.browser,
},
},
}
},
eslintConfigPrettier
)

0 comments on commit 0ae6c3f

Please sign in to comment.