Skip to content

Commit b4148e9

Browse files
Add eslint checks in CI
1 parent fbf1b1a commit b4148e9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ci/docker/host-x86_64/mingw-check/Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ ENV PATH="/node-v14.4.0-linux-x64/bin:${PATH}"
2222
# Install es-check
2323
# Pin its version to prevent unrelated CI failures due to future es-check versions.
2424
RUN npm install [email protected] -g
25+
RUN npm install [email protected] -g
2526

2627
COPY scripts/sccache.sh /scripts/
2728
RUN sh /scripts/sccache.sh
@@ -37,4 +38,5 @@ ENV SCRIPT python3 ../x.py --stage 2 test src/tools/expand-yaml-anchors && \
3738
python3 ../x.py doc --stage 0 library/test && \
3839
/scripts/validate-toolstate.sh && \
3940
# Runs checks to ensure that there are no ES5 issues in our JS code.
40-
es-check es5 ../src/librustdoc/html/static/*.js
41+
es-check es5 ../src/librustdoc/html/static/*.js && \
42+
eslint ../src/librustdoc/html/static/*.js

0 commit comments

Comments
 (0)