Closed GuillaumeGomez closed 6 months ago
Is it used in rustdoc (or crates.io) somewhere already? We may as well have consistent rules across projects since the exact ruleset doesn't matter much.
Found the rustdoc checking:
and the crates.io checking:
both have quite custom configs
https://github.com/rust-lang/rust/blob/536606bc5df7e6045c6dbedc2f852ba3d38581f1/src/librustdoc/html/static/.eslintrc.js https://github.com/rust-lang/crates.io/blob/ce9b0775710efc887b2e97117da402b0c9bcfa86/.eslintrc.js
I'll try and add a simple CI job with hopefully a simpler config :pensive:
We should add eslint check into our CI for our JS code.