Skip to content

Commit

Permalink
Use lint report only for sonarcloud
Browse files Browse the repository at this point in the history
  • Loading branch information
w3nl committed Dec 7, 2021
1 parent bf7a1f5 commit 360ca7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: npm install, lint, and test
run: |
npm ci
npm run lint
npm run lint:report
npm test
env:
CI: true
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
},
"license": "LGPL-3.0",
"scripts": {
"lint": "eslint src/*.js --config .eslintrc -f json -o report.json",
"lint": "eslint src/*.js --config .eslintrc",
"lint:report": "eslint src/*.js --config .eslintrc -f json -o report.json",
"lint:fix": "eslint src/*.js --config .eslintrc --fix",
"test": "jest",
"test:watch": "jest src --watch",
Expand Down

0 comments on commit 360ca7b

Please sign in to comment.