Update eslint.yml
Ensure suppressed warnings don't make it into the SARIF.
This commit is contained in:
@@ -36,6 +36,8 @@ jobs:
|
||||
npm install @microsoft/eslint-formatter-sarif@2.1.7
|
||||
|
||||
- name: Run ESLint
|
||||
env:
|
||||
SARIF_ESLINT_IGNORE_SUPPRESSED: "true"
|
||||
run: npx eslint .
|
||||
--config .eslintrc.js
|
||||
--ext .js,.jsx,.ts,.tsx
|
||||
@@ -47,4 +49,4 @@ jobs:
|
||||
uses: github/codeql-action/upload-sarif@v3
|
||||
with:
|
||||
sarif_file: eslint-results.sarif
|
||||
wait-for-processing: true
|
||||
wait-for-processing: true
|
||||
|
||||
Reference in New Issue
Block a user