Skip to content

Commit

Permalink
feat(ui-frontpage): add lint:out script to output eslint results to a…
Browse files Browse the repository at this point in the history
… JSON file

The new script allows to output the eslint results to a JSON file, which can be used for reporting and analysis.
  • Loading branch information
ktun95 committed Mar 6, 2025
1 parent fb098ae commit 3fb2015
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/ui-frontpage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
},
"scripts": {
"lint": "TIMING=1 eslint src --fix",
"lint:out": "eslint src/ --ext .ts --ext .tsx -f json -o ../../eslint/ui-frontpage.json",
"test": "TZ=UTC vitest run",
"coverage": "TZ=UTC vitest run --coverage"
}
Expand Down

0 comments on commit 3fb2015

Please sign in to comment.