File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/ci/docker/host-x86_64/mingw-check Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff 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.
2424RUN npm install es-check@5.2.3 -g
25+ RUN npm install eslint@7.20.0 -g
2526
2627COPY scripts/sccache.sh /scripts/
2728RUN 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
You can’t perform that action at this time.
0 commit comments