Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1c1e8ae

Browse files
authored
Move ESLint suppression environment variable
The env variables interpreted by the eslint-formatter-sarif processor.
1 parent 1f1ad26 commit 1c1e8ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pr-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ jobs:
2424
uses: actions/checkout@v4
2525

2626
- name: Lint
27+
env:
28+
SARIF_ESLINT_IGNORE_SUPPRESSED: "true"
2729
run: npm run-script lint-ci
2830

2931
- name: Upload sarif
3032
uses: github/codeql-action/upload-sarif@v3
31-
env:
32-
SARIF_ESLINT_IGNORE_SUPPRESSED: "true"
3333
# Only upload SARIF for the latest version of Node.js
3434
if: matrix.node-types-version == 'current'
3535
with:

0 commit comments

Comments
 (0)