Merge pull request #8 from xixu-me/dependabot/npm_and_yarn/npm-development-f9c11346ee

chore(deps-dev): bump the npm-development group across 1 directory with 9 updates
This commit is contained in:
xixu-me authored and GitHub committed 2026-03-17 15:41:29 +08:00
commit e3d437045b
3 files changed
+1509 -2318

No files matched your search

+41
View File
@@ -0,0 +1,41 @@
import js from '@eslint/js'
import tsParser from '@typescript-eslint/parser'
import tsPlugin from '@typescript-eslint/eslint-plugin'
import globals from 'globals'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
export default [
{
ignores: ['dist', '.eslintrc.cjs'],
},
js.configs.recommended,
...tsPlugin.configs['flat/recommended'],
reactHooks.configs.flat.recommended,
{
files: ['**/*.{ts,tsx}'],
languageOptions: {
parser: tsParser,
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
ecmaFeatures: {
jsx: true,
},
},
globals: {
...globals.browser,
...globals.es2020,
},
},
plugins: {
'react-refresh': reactRefresh,
},
rules: {
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
},
]
+1457 -2307
View File
File diff suppressed because it is too large. Load diff
+11 -11
View File
@@ -6,17 +6,17 @@
"devDependencies": {
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"@vitejs/plugin-react": "^4.3.1",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.7",
"jsdom": "^24.1.3",
"prettier": "^3.3.2",
"@typescript-eslint/eslint-plugin": "^8.57.1",
"@typescript-eslint/parser": "^8.57.1",
"@vitejs/plugin-react": "^6.0.1",
"eslint": "^9.39.4",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.5.2",
"jsdom": "^29.0.0",
"prettier": "^3.8.1",
"typescript": "^5.5.3",
"vite": "^7.2.2",
"vitest": "^4.0.8"
"vite": "^8.0.0",
"vitest": "^4.1.0"
},
"name": "uuid-playground",
"private": true,
@@ -30,4 +30,4 @@
},
"type": "module",
"version": "1.0.0"
}
}