Skip to content

Commit b76af81

Browse files
author
Gonzalo Diaz
committed
[CONFIG] [Github Actions] ESLint script parameters updated.
1 parent d05ce43 commit b76af81

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/eslint.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,20 @@ jobs:
4747

4848
- name: Install ESLint
4949
run: |
50-
npm install eslint@8.56.0
51-
npm install @microsoft/eslint-formatter-sarif@3.0.0
52-
50+
npm install --include=dev eslint@8.57.0
51+
npm install --include=dev @microsoft/eslint-formatter-sarif@3.0.0
52+
- name: Test ESLint
53+
run: |
54+
npx --yes eslint --env-info
5355
- name: Run ESLint
5456
run: >
5557
npx eslint .
5658
--config .eslintrc
59+
--max-warnings=0
5760
--ext .js,.jsx,.ts,.tsx
5861
--format @microsoft/eslint-formatter-sarif
5962
--output-file eslint-results.sarif
6063
continue-on-error: true
61-
6264
- name: Upload analysis results to GitHub
6365
uses: github/codeql-action/upload-sarif@v3
6466
with:

0 commit comments

Comments
 (0)