Update eslint.yml
Ensure suppressed warnings don't make it into the SARIF.
This commit is contained in:
@@ -36,6 +36,8 @@ jobs:
|
|||||||
npm install @microsoft/[email protected]
|
npm install @microsoft/[email protected]
|
||||||
|
|
||||||
- name: Run ESLint
|
- name: Run ESLint
|
||||||
|
env:
|
||||||
|
SARIF_ESLINT_IGNORE_SUPPRESSED: "true"
|
||||||
run: npx eslint .
|
run: npx eslint .
|
||||||
--config .eslintrc.js
|
--config .eslintrc.js
|
||||||
--ext .js,.jsx,.ts,.tsx
|
--ext .js,.jsx,.ts,.tsx
|
||||||
|
|||||||
Reference in New Issue
Block a user