bump up vitest and eslint version to resolve inflight warning...

- remove and disable `eslint-plugin-import` due to not supporting `eslint@9` yet (can be reactivated later)
- bump `eslint` to `9.7.0`.
  - bump `@typescript-eslint/eslint-plugin` to `8.0.0-alpha.54`
  - update `@typescript-eslint/parser` to `8.0.0-alpha.54`
  - update `typescript-eslint` to `8.0.0-alpha.54`
- update `vitest` to `2.0.4`
  - update `@vitest/coverage-istanbul` to `2.0.4`
This commit is contained in:
Felix Staud 2024-07-26 11:54:28 -07:00
parent 1dac6f766e
commit 5f6712888e
3 changed files with 1332 additions and 1987 deletions

View File

@ -1,6 +1,6 @@
import tseslint from '@typescript-eslint/eslint-plugin';
import parser from '@typescript-eslint/parser';
import imports from 'eslint-plugin-import';
// import imports from 'eslint-plugin-import'; // Disabled due to not being compatible with eslint v9
export default [
{
@ -10,7 +10,7 @@ export default [
parser: parser
},
plugins: {
imports: imports.configs.recommended,
// imports: imports.configs.recommended // Disabled due to not being compatible with eslint v9
'@typescript-eslint': tseslint
},
rules: {

3302
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -22,13 +22,12 @@
"devDependencies": {
"@eslint/js": "^9.3.0",
"@types/node": "^20.12.13",
"@typescript-eslint/eslint-plugin": "^7.10.0",
"@typescript-eslint/parser": "^7.10.0",
"@vitest/coverage-istanbul": "^1.4.0",
"@typescript-eslint/eslint-plugin": "^8.0.0-alpha.54",
"@typescript-eslint/parser": "^8.0.0-alpha.54",
"@vitest/coverage-istanbul": "^2.0.4",
"axios": "^1.6.2",
"axios-cache-interceptor": "^1.3.2",
"eslint": "^8.57.0",
"eslint-plugin-import": "^2.29.1",
"eslint": "^9.7.0",
"jsdom": "^24.0.0",
"json-beautify": "^1.1.1",
"lefthook": "^1.6.12",
@ -36,11 +35,11 @@
"pokenode-ts": "^1.20.0",
"typedoc": "^0.26.4",
"typescript": "^5.5.3",
"typescript-eslint": "^7.10.0",
"typescript-eslint": "^8.0.0-alpha.54",
"vite": "^4.5.0",
"vite-plugin-fs": "^0.4.4",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^1.4.0",
"vitest": "^2.0.4",
"vitest-canvas-mock": "^0.3.3"
},
"dependencies": {