Ignore suppressed alerts

This commit is contained in:
Andrew Eisenberg
2024-09-09 14:59:49 -07:00
parent 5c9d95388f
commit 56b8418884
4 changed files with 4 additions and 9 deletions
-4
View File
@@ -1,4 +0,0 @@
**/webpack.config.js
lib/**
src/testdata/**
tests/**
+1 -4
View File
@@ -28,15 +28,12 @@ jobs:
- name: Upload sarif
uses: github/codeql-action/upload-sarif@v3
# Only upload SARIF for the latest version of Node.js
# Only upload SARIF for the latest version of Node.js
if: matrix.node-types-version == 'current'
with:
sarif_file: eslint.sarif
category: eslint
- name: Ensure the working directory is clean
run: rm -f eslint.sarif
- name: Update version of @types/node
if: matrix.node-types-version != 'current'
env:
+2
View File
@@ -5,3 +5,5 @@ node_modules/.cache/
*.class
# macOS
.DS_Store
# eslint sarif report
eslint.sarif
+1 -1
View File
@@ -9,7 +9,7 @@
"test-debug": "ava src/**.test.ts --serial --verbose --timeout=20m",
"lint": "eslint --report-unused-disable-directives --max-warnings=0 .",
"lint-fix": "eslint --report-unused-disable-directives --max-warnings=0 . --fix",
"lint-ci": "eslint --report-unused-disable-directives --max-warnings=0 . --format @microsoft/eslint-formatter-sarif --output-file=eslint.sarif",
"lint-ci": "SARIF_ESLINT_IGNORE_SUPPRESSED=true eslint --report-unused-disable-directives --max-warnings=0 . --format @microsoft/eslint-formatter-sarif --output-file=eslint.sarif",
"removeNPMAbsolutePaths": "removeNPMAbsolutePaths . --force"
},
"ava": {