about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/alloc_example.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-05-29 17:03:00 +0200
committerGitHub <noreply@github.com>2025-05-29 17:03:00 +0200
commita547af9ffc6cd72303dfea3647d0e9a4cc599609 (patch)
treea4ba36d29e484385b6ddd9da0f3ad848ee052103 /compiler/rustc_codegen_gcc/example/alloc_example.rs
parentcb7efc0cbddb185290a346f9ccb01730a4e4fc36 (diff)
parent8645ef7d8e4053562f621578d3fe44460ccfa8c0 (diff)
downloadrust-a547af9ffc6cd72303dfea3647d0e9a4cc599609.tar.gz
rust-a547af9ffc6cd72303dfea3647d0e9a4cc599609.zip
Rollup merge of #141705 - GuillaumeGomez:eslint-tidy, r=Kobzol
Add eslint as part of `tidy` run

Rustdoc uses `eslint` to run lints on the JS files. Currently you need to run it by hand since it's not part of any `x.py` command. This PR makes it part of `test tidy`. However, to prevent having all rust developers to install `npm` and `eslint`, I made it optional: if `eslint` is not installed, then the check is simply skipped (but will tell that it is being skipped).

The second commit removes the manual checks from the docker file since `eslint` is run as part of tidy.

cc `@lolbinarycat,` [#t-rustdoc > eslint seems to only be run in CI](https://rust-lang.zulipchat.com/#narrow/channel/266220-t-rustdoc/topic/eslint.20seems.20to.20only.20be.20run.20in.20CI/with/520761477)
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/alloc_example.rs')
0 files changed, 0 insertions, 0 deletions