Skip to content

Commit

Permalink
[FUN-843] Add ESlinter and its reporting to Sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
chudilka1 committed Oct 11, 2023
1 parent ec57244 commit 641d61b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: yarn install --frozen-lockfile

- name: Run ESLint
run: yarn lint:check
run: yarn lint:check -f json -o eslint-report.json

- name: Upload ESLint report
if: always()
Expand Down
23 changes: 0 additions & 23 deletions .github/workflows/prettier.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"prettier:check": "prettier --check . && tsc --noEmit",
"prettier:fix": "npx prettier -w .",
"lint:fix": "eslint --fix",
"lint:check": "eslint \"/src/**/*.ts\" --max-warnings=0 -f json -o eslint-report.json"
"lint:check": "eslint \"/src/**/*.ts\" --max-warnings=0"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 641d61b

Please sign in to comment.