required "scripts" in a package.json #8280
Closed
tylersayshi
started this conversation in
Rule suggestion
Replies: 1 comment 1 reply
-
|
I like this. Would be pretty easy to implement too. PRs welcome! Make sure to follow our naming convention though. I would suggest |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to propose a rule that would require some defined set of scripts to be present in
package.json's. This would build on the existing work from https://biomejs.dev/linter/rules/no-duplicate-dependencies/ to add another check in the package.json file.It could be configured with something like this:
example error output:
This would be helpful for large monorepos that rely on running scripts in each workspace, where each workspace can be managed by a different team.
Note to maintainers: I'm open to contributing a PR to implement this
Beta Was this translation helpful? Give feedback.
All reactions