feat: update template

This commit is contained in:
2025-09-22 09:27:28 +08:00
parent 82d02516fe
commit 01abdfcbb6
5 changed files with 52 additions and 13 deletions

View File

@@ -22,7 +22,10 @@ export default [
},
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
globals: {
...globals.browser,
...globals.node,
},
},
rules: {
...reactHooks.configs.recommended.rules,