Skip to content

Commit

Permalink
feat: migrate to eslint v9 (#617)
Browse files Browse the repository at this point in the history
* feat: migrate to eslint v9

* fix: lock
  • Loading branch information
ilteoood authored Feb 8, 2025
1 parent 398bfaf commit 7737b6d
Show file tree
Hide file tree
Showing 5 changed files with 461 additions and 459 deletions.
5 changes: 0 additions & 5 deletions .eslintignore

This file was deleted.

12 changes: 0 additions & 12 deletions .eslintrc

This file was deleted.

21 changes: 21 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import js from '@eslint/js'
import prettierRecommended from 'eslint-plugin-prettier/recommended'
import globals from 'globals'

export default [
js.configs.recommended,
prettierRecommended,
{
languageOptions: {
globals: {
...globals.node,
...globals.browser
},
ecmaVersion: 'latest',
sourceType: 'module'
}
},
{
ignores: ['node_modules', '.DS_Store', 'dist', 'dist-ssr', '*.local']
}
]
Loading

0 comments on commit 7737b6d

Please sign in to comment.