Skip to content

Commit

Permalink
chore: upgrade eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
bangbang93 committed Nov 14, 2024
1 parent d2b4046 commit 58d10ed
Show file tree
Hide file tree
Showing 8 changed files with 839 additions and 909 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

11 changes: 0 additions & 11 deletions .eslintrc.yml

This file was deleted.

20 changes: 20 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import tsParser from '@typescript-eslint/parser'
import baseConfig from '@bangbang93/eslint-config-recommended'
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'

export default [
...baseConfig,
{
ignores: ['eslint.config.mjs', 'dist'],
},
{
languageOptions: {
parser: tsParser,
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
},
eslintPluginPrettierRecommended,
]
Loading

0 comments on commit 58d10ed

Please sign in to comment.