We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
eslint
npm
1 parent a30f178 commit 90524daCopy full SHA for 90524da
1 file changed
src/tools/tidy/src/rustdoc_js.rs
@@ -62,6 +62,9 @@ pub fn check(librustdoc_path: &Path, tools_path: &Path, src_path: &Path, bad: &m
62
return;
63
}
64
};
65
+ // Having the correct `eslint` version installed via `npm` isn't strictly necessary, since we're invoking it via `npx`,
66
+ // but this check allows the vast majority that is not working on the rustdoc frontend to avoid the penalty of running
67
+ // `eslint` in tidy. See also: https://github.com/rust-lang/rust/pull/142851
68
match get_eslint_version() {
69
Some(version) => {
70
if version != eslint_version {
0 commit comments