about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2023-03-11 21:42:11 +0100
committerGuillaume Gomez <guillaume.gomez@huawei.com>2023-03-11 21:42:11 +0100
commitca9b6180f023d5a8ccf278a48270878daf8ed909 (patch)
treed26284c710978ffa8147f2268a0d51837f4db085
parent904d9c5c549745793c98a1c2cd0a2665d30fe34e (diff)
downloadrust-ca9b6180f023d5a8ccf278a48270878daf8ed909.tar.gz
rust-ca9b6180f023d5a8ccf278a48270878daf8ed909.zip
Add rustdoc-js eslint check into CI
-rw-r--r--src/ci/docker/host-x86_64/mingw-check/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ci/docker/host-x86_64/mingw-check/Dockerfile b/src/ci/docker/host-x86_64/mingw-check/Dockerfile
index 98bd90210d6..9141d3e8a48 100644
--- a/src/ci/docker/host-x86_64/mingw-check/Dockerfile
+++ b/src/ci/docker/host-x86_64/mingw-check/Dockerfile
@@ -52,4 +52,5 @@ ENV SCRIPT python3 ../x.py --stage 2 test src/tools/expand-yaml-anchors && \
            reuse lint && \
            # Runs checks to ensure that there are no ES5 issues in our JS code.
            es-check es6 ../src/librustdoc/html/static/js/*.js && \
-           eslint -c ../src/librustdoc/html/static/.eslintrc.js ../src/librustdoc/html/static/js/*.js
+           eslint -c ../src/librustdoc/html/static/.eslintrc.js ../src/librustdoc/html/static/js/*.js && \
+           eslint -c ../src/tools/rustdoc-js/.eslintrc.js ../src/tools/rustdoc-js/tester.js