File tree Expand file tree Collapse file tree 3 files changed +6
-292
lines changed
Expand file tree Collapse file tree 3 files changed +6
-292
lines changed Original file line number Diff line number Diff line change 2727 node-version : lts/*
2828 cache : ' pnpm'
2929 - run : pnpm i
30+ - name : Install ESLint SARIF formatter
31+ # https://github.com/microsoft/sarif-js-sdk/issues/91 unncessary deps on eslint@8
32+ run : |
33+ wget https://raw.githubusercontent.com/microsoft/sarif-js-sdk/refs/heads/main/packages/eslint-formatter-sarif/sarif.js -O node_modules/sarif.cjs
34+ pnpm i -D utf8 lodash jschardet
3035 - name : Lint
3136 run : pnpm run lint
32- --format @microsoft/eslint-formatter- sarif
37+ --format node_modules/ sarif.cjs
3338 --output-file eslint-results.sarif
3439 continue-on-error : true
3540 - name : Upload analysis results to GitHub
Original file line number Diff line number Diff line change 149149 "@cloudflare/workers-types" : " 4.20260131.0" ,
150150 "@eslint/eslintrc" : " 3.3.3" ,
151151 "@eslint/js" : " 9.39.2" ,
152- "@microsoft/eslint-formatter-sarif" : " 3.1.0" ,
153152 "@stylistic/eslint-plugin" : " 5.7.1" ,
154153 "@types/aes-js" : " 3.1.4" ,
155154 "@types/babel__preset-env" : " 7.10.0" ,
You can’t perform that action at this time.
0 commit comments