|
30 | 30 | "url": "https://liberapay.com/etkecc" |
31 | 31 | }, |
32 | 32 | "devDependencies": { |
33 | | - "@eslint/js": "^9.39.2", |
| 33 | + "@eslint/js": "^10.0.1", |
34 | 34 | "@testing-library/dom": "^10.4.1", |
35 | 35 | "@testing-library/jest-dom": "^6.9.1", |
36 | 36 | "@testing-library/react": "^16.3.2", |
37 | 37 | "@testing-library/user-event": "^14.6.1", |
38 | 38 | "@types/jest": "^30.0.0", |
39 | 39 | "@types/lodash": "^4.17.23", |
40 | | - "@types/node": "^25.2.0", |
| 40 | + "@types/node": "^25.2.1", |
41 | 41 | "@types/papaparse": "^5.5.2", |
42 | | - "@types/react": "^19.2.10", |
43 | | - "@typescript-eslint/eslint-plugin": "^8.54.0", |
44 | | - "@typescript-eslint/parser": "^8.54.0", |
45 | | - "@vitejs/plugin-react": "^5.1.2", |
46 | | - "eslint": "^9.39.2", |
| 42 | + "@types/react": "^19.2.13", |
| 43 | + "@typescript-eslint/eslint-plugin": "^8.57.0", |
| 44 | + "@typescript-eslint/parser": "^8.57.0", |
| 45 | + "@vitejs/plugin-react": "^5.1.3", |
| 46 | + "eslint": "^10.0.0", |
47 | 47 | "eslint-config-prettier": "^10.1.8", |
48 | 48 | "eslint-plugin-import": "^2.32.0", |
49 | 49 | "eslint-plugin-jsx-a11y": "^6.10.2", |
50 | 50 | "eslint-plugin-prettier": "^5.5.5", |
51 | 51 | "eslint-plugin-unused-imports": "^4.3.0", |
| 52 | + "globals": "^17.3.0", |
52 | 53 | "jest": "^30.2.0", |
53 | 54 | "jest-environment-jsdom": "^30.2.0", |
54 | 55 | "jest-fetch-mock": "^3.0.3", |
|
57 | 58 | "ts-jest": "^29.4.6", |
58 | 59 | "ts-node": "^10.9.2", |
59 | 60 | "typescript": "^5.9.3", |
60 | | - "typescript-eslint": "^8.54.0", |
| 61 | + "typescript-eslint": "^8.57.0", |
61 | 62 | "vite": "^7.3.1", |
62 | 63 | "vite-plugin-version-mark": "^0.2.2" |
63 | 64 | }, |
|
96 | 97 | "scripts": { |
97 | 98 | "start": "vite serve", |
98 | 99 | "build": "vite build", |
99 | | - "lint": "ESLINT_USE_FLAT_CONFIG=false eslint --ignore-path .gitignore --ignore-pattern testdata/ --ext .ts,.tsx .", |
| 100 | + "lint": "eslint .", |
100 | 101 | "format": "prettier --write \"src/**/*\"", |
101 | 102 | "fix": "yarn lint --fix", |
102 | 103 | "test": "yarn jest", |
103 | 104 | "test:watch": "yarn jest --watch" |
104 | 105 | }, |
105 | | - "eslintConfig": { |
106 | | - "env": { |
107 | | - "browser": true |
108 | | - }, |
109 | | - "plugins": [ |
110 | | - "import", |
111 | | - "prettier", |
112 | | - "unused-imports", |
113 | | - "@typescript-eslint" |
114 | | - ], |
115 | | - "extends": [ |
116 | | - "eslint:recommended", |
117 | | - "plugin:@typescript-eslint/recommended", |
118 | | - "plugin:@typescript-eslint/stylistic", |
119 | | - "plugin:import/typescript" |
120 | | - ], |
121 | | - "parser": "@typescript-eslint/parser", |
122 | | - "parserOptions": { |
123 | | - "project": "./tsconfig.eslint.json" |
124 | | - }, |
125 | | - "root": true, |
126 | | - "rules": { |
127 | | - "prettier/prettier": "error", |
128 | | - "@typescript-eslint/no-unused-vars": [ |
129 | | - "error", |
130 | | - { |
131 | | - "args": "all", |
132 | | - "argsIgnorePattern": "^_", |
133 | | - "caughtErrors": "all", |
134 | | - "caughtErrorsIgnorePattern": "^_", |
135 | | - "destructuredArrayIgnorePattern": "^_", |
136 | | - "varsIgnorePattern": "^_", |
137 | | - "ignoreRestSiblings": true |
138 | | - } |
139 | | - ], |
140 | | - "import/no-extraneous-dependencies": [ |
141 | | - "error", |
142 | | - { |
143 | | - "devDependencies": [ |
144 | | - "**/vite.config.ts", |
145 | | - "**/jest.setup.ts", |
146 | | - "**/*.test.ts", |
147 | | - "**/*.test.tsx" |
148 | | - ] |
149 | | - } |
150 | | - ], |
151 | | - "import/order": [ |
152 | | - "error", |
153 | | - { |
154 | | - "alphabetize": { |
155 | | - "order": "asc", |
156 | | - "caseInsensitive": false |
157 | | - }, |
158 | | - "newlines-between": "always", |
159 | | - "groups": [ |
160 | | - "external", |
161 | | - "builtin", |
162 | | - "internal", |
163 | | - [ |
164 | | - "parent", |
165 | | - "sibling", |
166 | | - "index" |
167 | | - ] |
168 | | - ] |
169 | | - } |
170 | | - ] |
171 | | - } |
172 | | - }, |
173 | 106 | "prettier": { |
174 | 107 | "printWidth": 120, |
175 | 108 | "tabWidth": 2, |
|
0 commit comments