-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
A-tidyArea: The tidy toolArea: The tidy toolC-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
Recently there was a proposal to run npx eslint
without first npm install
ing it.
However, I personally have no idea how dependencies would have been resolved for doing this. Normally, for code in the repository, we have a Cargo.lock that decides what will be resolved and we deliberately bump it when we want to update. This provides some assurance, at least, that we don't resolve random packages.
Part of my confusion with that PR was... that. If we're going to run JS testing and linting, then it's unclear to me why we don't also have locks so that we know what code we are running.
Metadata
Metadata
Assignees
Labels
A-tidyArea: The tidy toolArea: The tidy toolC-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.