Skip to content

Commit

Permalink
Ignore suppressed alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
aeisenberg committed Sep 9, 2024
1 parent 5c9d953 commit 0d3665a
Show file tree
Hide file tree
Showing 4 changed files with 346 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ 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
Expand Down
344 changes: 344 additions & 0 deletions eslint.sarif
Original file line number Diff line number Diff line change
@@ -0,0 +1,344 @@
{
"version": "2.1.0",
"$schema": "http://json.schemastore.org/sarif-2.1.0-rtm.5",
"runs": [
{
"tool": {
"driver": {
"name": "ESLint",
"informationUri": "https://eslint.org",
"rules": [],
"version": "8.57.0"
}
},
"artifacts": [
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/actions-util.test.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/actions-util.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/analyze-action-env.test.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/analyze-action-input.test.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/analyze-action-post-helper.test.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/analyze-action-post-helper.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/analyze-action-post.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/analyze-action.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/analyze.test.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/analyze.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/api-client.test.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/api-client.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/autobuild-action.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/autobuild.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/cli-errors.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/codeql.test.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/codeql.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/config-utils.test.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/config-utils.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/database-upload.test.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/database-upload.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/debug-artifacts.test.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/debug-artifacts.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/diagnostics.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/doc-url.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/environment.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/feature-flags.test.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/feature-flags.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/fingerprints.test.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/fingerprints.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/init-action-post-helper.test.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/init-action-post-helper.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/init-action-post.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/init-action.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/init.test.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/init.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/languages.test.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/languages.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/logging.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/repository.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/resolve-environment-action.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/resolve-environment.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/setup-codeql.test.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/setup-codeql.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/start-proxy-action-post.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/start-proxy-action.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/status-report.test.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/status-report.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/tar.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/testing-utils.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/tools-features.test.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/tools-features.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/tracer-config.test.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/tracer-config.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/trap-caching.test.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/trap-caching.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/upload-lib.test.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/upload-lib.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/upload-sarif-action-post-helper.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/upload-sarif-action-post.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/upload-sarif-action.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/util.test.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/util.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/workflow.test.ts"
}
},
{
"location": {
"uri": "file:///Users/aeisenberg/git-repos/github/codeql-action/src/workflow.ts"
}
}
],
"results": []
}
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 0d3665a

Please sign in to comment.