Skip to content

Commit

Permalink
fix: support eslint v9 as peerDeps
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Apr 5, 2024
1 parent 402b1e8 commit e7c8b89
Show file tree
Hide file tree
Showing 5 changed files with 375 additions and 91 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -24,7 +24,7 @@
"@types/eslint": "^8.56.7",
"@types/node": "^20.12.4",
"bumpp": "^9.4.0",
"eslint": "^8.57.0",
"eslint": "^9.0.0",
"typescript": "^5.4.4",
"vitest": "^1.4.0",
"vue": "^3.4.21"
Expand Down
8 changes: 4 additions & 4 deletions packages/eslint-config/package.json
Expand Up @@ -34,17 +34,17 @@
"prepack": "pnpm run build"
},
"peerDependencies": {
"eslint": "^8.57.0"
"eslint": "^8.57.0 || ^9.0.0"
},
"dependencies": {
"@eslint/js": "^8.57.0",
"@eslint/js": "^9.0.0",
"@nuxt/eslint-plugin": "workspace:*",
"@rushstack/eslint-patch": "^1.10.1",
"@stylistic/eslint-plugin": "^1.7.0",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"eslint-config-flat-gitignore": "^0.1.5",
"eslint-flat-config-utils": "^0.2.0",
"eslint-flat-config-utils": "^0.2.1",
"eslint-plugin-import-x": "^0.5.0",
"eslint-plugin-jsdoc": "^48.2.3",
"eslint-plugin-unicorn": "^52.0.0",
Expand All @@ -56,7 +56,7 @@
},
"devDependencies": {
"@types/eslint": "^8.56.7",
"eslint": "^8.57.0",
"eslint": "^9.0.0",
"typescript": "^5.4.4"
}
}
2 changes: 1 addition & 1 deletion packages/eslint-plugin/package.json
Expand Up @@ -28,7 +28,7 @@
"prepack": "pnpm run build"
},
"peerDependencies": {
"eslint": "^8.57.0"
"eslint": "^8.57.0 || ^9.0.0"
},
"dependencies": {
"@typescript-eslint/types": "^7.5.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/module/package.json
Expand Up @@ -35,7 +35,7 @@
"test:watch": "vitest watch"
},
"peerDependencies": {
"eslint": "^8.57.0",
"eslint": "^8.57.0 || ^9.0.0",
"eslint-webpack-plugin": "^4.1.0",
"vite-plugin-eslint2": "^4.4.0"
},
Expand All @@ -48,13 +48,13 @@
}
},
"dependencies": {
"@eslint/config-inspector": "^0.3.1",
"@eslint/config-inspector": "^0.4.1",
"@nuxt/devtools-kit": "^1.1.5",
"@nuxt/eslint-config": "workspace:*",
"@nuxt/eslint-plugin": "workspace:*",
"@nuxt/kit": "^3.11.2",
"chokidar": "^3.6.0",
"eslint-flat-config-utils": "^0.2.0",
"eslint-flat-config-utils": "^0.2.1",
"eslint-typegen": "^0.2.0",
"get-port-please": "^3.1.2",
"mlly": "^1.6.1",
Expand Down

0 comments on commit e7c8b89

Please sign in to comment.