Skip to content

Commit 19e4854

Browse files
committed
update CI to use new tidy extra checks for rustdoc js
1 parent ee2c42b commit 19e4854

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/ci/docker/host-x86_64/pr-check-1/Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,4 @@ ENV SCRIPT \
5252
python3 ../x.py check --set build.optimized-compiler-builtins=false core alloc std --target=aarch64-unknown-linux-gnu,i686-pc-windows-msvc,i686-unknown-linux-gnu,x86_64-apple-darwin,x86_64-pc-windows-gnu,x86_64-pc-windows-msvc && \
5353
/scripts/validate-toolstate.sh && \
5454
reuse --include-submodules lint && \
55-
python3 ../x.py test collect-license-metadata && \
56-
# Runs checks to ensure that there are no issues in our JS code.
57-
es-check es2019 ../src/librustdoc/html/static/js/*.js && \
58-
tsc --project ../src/librustdoc/html/static/js/tsconfig.json
55+
python3 ../x.py test collect-license-metadata

src/ci/docker/host-x86_64/tidy/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ RUN bash -c 'npm install -g eslint@$(cat /tmp/eslint.version)'
4545
# NOTE: intentionally uses python2 for x.py so we can test it still works.
4646
# validate-toolstate only runs in our CI, so it's ok for it to only support python3.
4747
ENV SCRIPT TIDY_PRINT_DIFF=1 python2.7 ../x.py test --stage 0 \
48-
src/tools/tidy tidyselftest --extra-checks=py,cpp
48+
src/tools/tidy tidyselftest --extra-checks=py,cpp,js

0 commit comments

Comments
 (0)