Skip to content

Commit fb9f599

Browse files
revert: revert skipLibCheck and use a fixed eslint version instead
1 parent f1e27d2 commit fb9f599

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.ci/doc/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ runners:
1212
path: /var/snippets/node
1313
lint:
1414
global: true
15-
cmd: eslint -c /mnt/.ci/doc/eslint.json --skipLibCheck {{ snippet.dir }}
15+
cmd: eslint -c /mnt/.ci/doc/eslint.json {{ snippet.dir }}
1616
before: timeout 600 ash -c 'until stat /tmp/runner_ready_to_lint; do sleep 1; done'
1717
run:
1818
cmd: node {{ snippet.source }}
@@ -23,7 +23,7 @@ runners:
2323
path: /var/snippets/web
2424
lint:
2525
global: true
26-
cmd: eslint -c /mnt/.ci/doc/eslint.json --parser-options ecmaVersion:12 --skipLibCheck {{ snippet.dir }}/*.html
26+
cmd: eslint -c /mnt/.ci/doc/eslint.json --parser-options ecmaVersion:12 {{ snippet.dir }}/*.html
2727
before: timeout 600 bash -c 'until stat /tmp/runner_ready_to_lint; do sleep 1; done'
2828
run:
2929
cmd: node puppeteer.js {{ snippet.dir }}/{{ snippet.source }}
@@ -34,7 +34,7 @@ runners:
3434
path: /var/snippets/webpack
3535
lint:
3636
global: true
37-
cmd: eslint -c /mnt/.ci/doc/eslint.json --skipLibCheck {{ snippet.dir }}
37+
cmd: eslint -c /mnt/.ci/doc/eslint.json {{ snippet.dir }}
3838
before: timeout 600 bash -c 'until stat /tmp/runner_ready_to_lint; do sleep 1; done'
3939
build:
4040
cmd: node webpackBuild.js {{ snippet.dir }}/{{ snippet.source }}

.ci/doc/docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ services:
4949
ash -c '
5050
mkdir -p /var/snippets/node;
5151
apk add --no-cache curl;
52-
npm install -g eslint@6.8.0;
52+
npm install -g eslint@8.38.0;
5353
cd /var/snippets/node;
5454
npm install \
5555
bluebird \
@@ -77,7 +77,7 @@ services:
7777
apt-get update;
7878
apt-get install -y curl;
7979
npm install -g \
80-
eslint;
80+
eslint@8.38.0;
8181
cd /mnt;
8282
npm install;
8383
cd /var/snippets/web;
@@ -107,7 +107,7 @@ services:
107107
apt-get update;
108108
apt-get install -y curl;
109109
npm install -g \
110-
eslint;
110+
eslint@8.38.0;
111111
cd /var/snippets/webpack;
112112
cp /mnt/.ci/doc/puppeteer.js /var/snippets/webpack/;
113113
cp /mnt/.ci/doc/webpackBuild.js /var/snippets/webpack/;

0 commit comments

Comments
 (0)