npm update and linter fix

This commit is contained in:
Ivan 2025-10-27 14:49:01 +03:00
parent bfcc43457c
commit a7f4637b46
4 changed files with 511 additions and 710 deletions

View File

@ -2,7 +2,6 @@ import globals from 'globals';
import typescriptPlugin from 'typescript-eslint';
import typescriptParser from '@typescript-eslint/parser';
import reactPlugin from 'eslint-plugin-react';
import reactCompilerPlugin from 'eslint-plugin-react-compiler';
import reactHooksPlugin from 'eslint-plugin-react-hooks';
import importPlugin from 'eslint-plugin-import';
import simpleImportSort from 'eslint-plugin-simple-import-sort';
@ -36,6 +35,7 @@ const basicRules = {
};
export default [
reactHooksPlugin.configs.flat.recommended,
...typescriptPlugin.configs.recommendedTypeChecked,
...typescriptPlugin.configs.stylisticTypeChecked,
{
@ -65,7 +65,6 @@ export default [
plugins: {
'react': reactPlugin,
'react-compiler': reactCompilerPlugin,
'react-hooks': reactHooksPlugin,
'simple-import-sort': simpleImportSort,
'import': importPlugin
@ -73,7 +72,6 @@ export default [
settings: { react: { version: 'detect' } },
rules: {
...basicRules,
'react-compiler/react-compiler': 'error',
'react-refresh/only-export-components': ['off', { allowConstantExport: true }],
'simple-import-sort/imports': [
'warn',

File diff suppressed because it is too large Load Diff

View File

@ -19,7 +19,7 @@
"@lezer/lr": "^1.4.2",
"@radix-ui/react-popover": "^1.1.15",
"@radix-ui/react-select": "^2.2.6",
"@tanstack/react-query": "^5.90.3",
"@tanstack/react-query": "^5.90.5",
"@tanstack/react-query-devtools": "^5.90.2",
"@tanstack/react-table": "^8.21.3",
"@uiw/codemirror-themes": "^4.25.2",
@ -30,7 +30,7 @@
"cmdk": "^1.1.1",
"global": "^4.4.0",
"js-file-download": "^0.4.12",
"lucide-react": "^0.545.0",
"lucide-react": "^0.548.0",
"qrcode.react": "^4.2.0",
"react": "^19.2.0",
"react-dom": "^19.2.0",
@ -46,29 +46,28 @@
"react-zoom-pan-pinch": "^3.7.0",
"reactflow": "^11.11.4",
"tailwind-merge": "^3.3.1",
"tw-animate-css": "^1.3.7",
"tw-animate-css": "1.3.7",
"use-debounce": "^10.0.6",
"zod": "^4.1.12",
"zustand": "^5.0.8"
},
"devDependencies": {
"@lezer/generator": "^1.8.0",
"@playwright/test": "^1.56.0",
"@tailwindcss/vite": "^4.1.14",
"@playwright/test": "^1.56.1",
"@tailwindcss/vite": "^4.1.16",
"@types/jest": "^30.0.0",
"@types/node": "^24.7.2",
"@types/node": "^24.9.1",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"@typescript-eslint/eslint-plugin": "^8.0.1",
"@typescript-eslint/parser": "^8.0.1",
"@vitejs/plugin-react": "^5.0.4",
"@vitejs/plugin-react": "^5.1.0",
"babel-plugin-react-compiler": "^1.0.0",
"eslint": "^9.37.0",
"eslint": "^9.38.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-playwright": "^2.2.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-compiler": "^19.1.0-rc.1",
"eslint-plugin-react-hooks": "^7.0.0",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"globals": "^16.4.0",
"jest": "^30.2.0",
@ -79,8 +78,8 @@
"tailwindcss": "^4.0.7",
"ts-jest": "^29.4.5",
"typescript": "^5.9.3",
"typescript-eslint": "^8.46.1",
"vite": "^7.1.10"
"typescript-eslint": "^8.46.2",
"vite": "^7.1.12"
},
"jest": {
"preset": "ts-jest",

View File

@ -10,7 +10,8 @@ export const test = base.extend({
await setupAuth(page);
await setupUsers(page);
await setupLibrary(page);
// eslint-disable-next-line react-hooks/rules-of-hooks
await use(page);
}
});