File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -47,18 +47,20 @@ jobs:
4747
4848 - name : Install ESLint
4949 run : |
50- npm install eslint@8.56.0
51- npm install @microsoft/eslint-formatter-sarif@3.0.0
52-
50+ npm install --include=dev eslint@8.57.0
51+ npm install --include=dev @microsoft/eslint-formatter-sarif@3.0.0
52+ - name : Test ESLint
53+ run : |
54+ npx --yes eslint --env-info
5355 - name : Run ESLint
5456 run : >
5557 npx eslint .
5658 --config .eslintrc
59+ --max-warnings=0
5760 --ext .js,.jsx,.ts,.tsx
5861 --format @microsoft/eslint-formatter-sarif
5962 --output-file eslint-results.sarif
6063 continue-on-error : true
61-
6264 - name : Upload analysis results to GitHub
6365 uses : github/codeql-action/upload-sarif@v3
6466 with :
Original file line number Diff line number Diff line change 66 "scripts" : {
77 "build" : " npx --yes copyfiles --verbose -R --up 1 -e \" **/*.test.js\" -e \" **/*.config.js\" \" **/*.js\" dist/" ,
88 "start" : " npm run test" ,
9- "lint" : " npx --yes eslint . --color --max-warnings=0 && echo '✔ Your code looks good.'" ,
9+ "lint" : " npx --yes eslint --env-info; npx --yes eslint . --color --max-warnings=0 && echo '✔ Your code looks good.'" ,
1010 "lint:watch" : " npx --yes esw . --color --max-warnings=0 --watch" ,
1111 "jest:ci" : " node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug" ,
1212 "jest:clean" : " npx --yes jest --clearCache && npx --yes watchman watch-del-all" ,
You can’t perform that action at this time.
0 commit comments