Skip to content

Commit

Permalink
chore: add peer dependencies to eslint packages (#8773)
Browse files Browse the repository at this point in the history
### Description

This adds peer dependencies to the eslint config and eslint plugin to
help with errors like
#5571 (comment).

When upgrading turbo, you can run into errors even when using codemod
since the codemod doesn't update these modules.

---------

Co-authored-by: Anthony Shew <[email protected]>
  • Loading branch information
bitttttten and anthonyshew authored Nov 29, 2024
1 parent a95d5e3 commit e901df6
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/eslint-config-turbo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"eslint-plugin-turbo": "workspace:*"
},
"peerDependencies": {
"eslint": ">6.6.0"
"eslint": ">6.6.0",
"turbo": ">2.0.0"
},
"license": "MIT",
"devDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/eslint-plugin-turbo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
"typescript": "5.5.4"
},
"peerDependencies": {
"eslint": ">6.6.0"
"eslint": ">6.6.0",
"turbo": ">2.0.0"
},
"license": "MIT"
}
66 changes: 66 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e901df6

Please sign in to comment.