Skip to content

Commit

Permalink
Fix eslint-config-next peer dep issue (vercel#38009)
Browse files Browse the repository at this point in the history
It seems `npm` fails to resolve the `next` `peerDependencies` field for `eslint-config-next` and this field isn't necessarily needed so this removes it to ensure upgrading doesn't require the `--force` flag.  

## Bug

- [x] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

Fixes: vercel#38008 (comment)
  • Loading branch information
ijjk committed Jun 25, 2022
1 parent cb882b7 commit f4fb3e0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/eslint-config-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
},
"peerDependencies": {
"eslint": "^7.23.0 || ^8.0.0",
"next": ">=10.2.0",
"typescript": ">=3.3.1"
},
"peerDependenciesMeta": {
Expand Down

0 comments on commit f4fb3e0

Please sign in to comment.