File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1717 # Runs the ESlint code analysis
1818 - name : Run ESLint
1919 # eslint exits 1 if it finds anything to report
20- run : node_modules/.bin/eslint index.js -f node_modules/@microsoft/eslint-formatter-sarif/sarif.js -o results.sarif.json || true
20+ run : npm run lint || true
2121 - name : Expose report
2222 uses : actions/upload-artifact@v2
2323 with :
Original file line number Diff line number Diff line change 55 "main" : " index.js" ,
66 "scripts" : {
77 "test" : " echo \" Error: no test specified\" && exit 1" ,
8- "lint" : " eslint -f @microsoft /eslint-formatter-sarif -o output .sarif.json index.js" ,
8+ "lint" : " eslint -f . /eslint-formatter/src/ESLint.Formatter -o results .sarif.json index.js" ,
99 "postinstall" : " cd eslint-formatter/src/ESLint.Formatter && npm install"
1010 },
1111 "repository" : {
You can’t perform that action at this time.
0 commit comments