Ignore suppressed alerts
This commit is contained in:
parent
5c9d95388f
commit
56b8418884
4 changed files with 4 additions and 9 deletions
|
|
@ -1,4 +0,0 @@
|
||||||
**/webpack.config.js
|
|
||||||
lib/**
|
|
||||||
src/testdata/**
|
|
||||||
tests/**
|
|
||||||
5
.github/workflows/pr-checks.yml
vendored
5
.github/workflows/pr-checks.yml
vendored
|
|
@ -28,15 +28,12 @@ jobs:
|
||||||
|
|
||||||
- name: Upload sarif
|
- name: Upload sarif
|
||||||
uses: github/codeql-action/upload-sarif@v3
|
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'
|
if: matrix.node-types-version == 'current'
|
||||||
with:
|
with:
|
||||||
sarif_file: eslint.sarif
|
sarif_file: eslint.sarif
|
||||||
category: eslint
|
category: eslint
|
||||||
|
|
||||||
- name: Ensure the working directory is clean
|
|
||||||
run: rm -f eslint.sarif
|
|
||||||
|
|
||||||
- name: Update version of @types/node
|
- name: Update version of @types/node
|
||||||
if: matrix.node-types-version != 'current'
|
if: matrix.node-types-version != 'current'
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -5,3 +5,5 @@ node_modules/.cache/
|
||||||
*.class
|
*.class
|
||||||
# macOS
|
# macOS
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
# eslint sarif report
|
||||||
|
eslint.sarif
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
"test-debug": "ava src/**.test.ts --serial --verbose --timeout=20m",
|
"test-debug": "ava src/**.test.ts --serial --verbose --timeout=20m",
|
||||||
"lint": "eslint --report-unused-disable-directives --max-warnings=0 .",
|
"lint": "eslint --report-unused-disable-directives --max-warnings=0 .",
|
||||||
"lint-fix": "eslint --report-unused-disable-directives --max-warnings=0 . --fix",
|
"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"
|
"removeNPMAbsolutePaths": "removeNPMAbsolutePaths . --force"
|
||||||
},
|
},
|
||||||
"ava": {
|
"ava": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue