Skip to content

Commit f88c030

Browse files
committed
chore: NIP
1 parent 0303257 commit f88c030

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

eslint.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import globals from 'globals'
2+
import { defineConfig } from 'eslint/config'
23
import pluginJs from '@eslint/js'
34
import pluginTs from 'typescript-eslint'
45
import pluginPrettier from 'eslint-plugin-prettier/recommended'
@@ -17,7 +18,7 @@ const rules = {
1718
'@typescript-eslint/no-non-null-asserted-optional-chain': 0
1819
}
1920

20-
export default [
21+
export default defineConfig([
2122
{ files: ['**/*.{ts,tsx,js,jsx}'] },
2223
{ ignores: ['node_modules', 'dist', 'public'] },
2324
{ languageOptions: { globals: globals.browser } },
@@ -31,4 +32,4 @@ export default [
3132
settings: { react: { version: 'detect' } }
3233
},
3334
{ rules }
34-
]
35+
])

0 commit comments

Comments
 (0)