File tree 4 files changed +5
-5
lines changed
ci/docker/host-x86_64/mingw-check
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -61,8 +61,8 @@ ENV SCRIPT python3 ../x.py check --stage 0 --set build.optimized-compiler-builti
61
61
/scripts/validate-toolstate.sh && \
62
62
/scripts/validate-error-codes.sh && \
63
63
reuse --include-submodules lint && \
64
- # Runs checks to ensure that there are no ES5 issues in our JS code.
65
- es-check es8 ../src/librustdoc/html/static/js/*.js && \
64
+ # Runs checks to ensure that there are no issues in our JS code.
65
+ es-check es2019 ../src/librustdoc/html/static/js/*.js && \
66
66
eslint -c ../src/librustdoc/html/static/.eslintrc.js ../src/librustdoc/html/static/js/*.js && \
67
67
eslint -c ../src/tools/rustdoc-js/.eslintrc.js ../src/tools/rustdoc-js/tester.js && \
68
68
eslint -c ../src/tools/rustdoc-gui/.eslintrc.js ../src/tools/rustdoc-gui/tester.js
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ module.exports = {
5
5
} ,
6
6
"extends" : "eslint:recommended" ,
7
7
"parserOptions" : {
8
- "ecmaVersion" : 9 ,
8
+ "ecmaVersion" : 2019 ,
9
9
"sourceType" : "module"
10
10
} ,
11
11
"rules" : {
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ module.exports = {
6
6
} ,
7
7
"extends" : "eslint:recommended" ,
8
8
"parserOptions" : {
9
- "ecmaVersion" : 2018 ,
9
+ "ecmaVersion" : 2019 ,
10
10
"sourceType" : "module"
11
11
} ,
12
12
"rules" : {
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ module.exports = {
6
6
} ,
7
7
"extends" : "eslint:recommended" ,
8
8
"parserOptions" : {
9
- "ecmaVersion" : 8 ,
9
+ "ecmaVersion" : 2019 ,
10
10
"sourceType" : "module"
11
11
} ,
12
12
"rules" : {
You can’t perform that action at this time.
0 commit comments