Ignore suppressed alerts
This commit is contained in:
Родитель
5c9d95388f
Коммит
56b8418884
|
@ -1,4 +0,0 @@
|
|||
**/webpack.config.js
|
||||
lib/**
|
||||
src/testdata/**
|
||||
tests/**
|
|
@ -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:
|
||||
|
|
|
@ -5,3 +5,5 @@ node_modules/.cache/
|
|||
*.class
|
||||
# macOS
|
||||
.DS_Store
|
||||
# eslint sarif report
|
||||
eslint.sarif
|
||||
|
|
|
@ -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": {
|
||||
|
|
Загрузка…
Ссылка в новой задаче