Skip to content

Commit f1e27d2

Browse files
fix: ignore external library linting
1 parent 96306fa commit f1e27d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
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 {{ snippet.dir }}
15+
cmd: eslint -c /mnt/.ci/doc/eslint.json --skipLibCheck {{ 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 {{ snippet.dir }}/*.html
26+
cmd: eslint -c /mnt/.ci/doc/eslint.json --parser-options ecmaVersion:12 --skipLibCheck {{ 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 {{ snippet.dir }}
37+
cmd: eslint -c /mnt/.ci/doc/eslint.json --skipLibCheck {{ 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 }}

0 commit comments

Comments
 (0)