Skip to content

Commit

Permalink
Added npm run fix to fix ESLint errors (#7337)
Browse files Browse the repository at this point in the history
This is the most helpful command I have figured out so far.

Let me know if there is a better way to fix formatting errors, e.g. an
auto-formatting tool you use.
  • Loading branch information
ilyagr authored Jul 8, 2024
1 parent 36e5263 commit be7ab8a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
"check:style": "run-p check:style:*",
"check:style:scss": "stylelint \"src/**/*.scss\"",
"check:style:ts": "eslint --cache \"src/**/*.ts\"",
"fix": "run-p fix:*",
"fix:style": "run-p fix:style:*",
"fix:style:ts": "eslint --cache \"src/**/*.ts\" --fix",
"start": "ts-node -T tools/build --verbose --all --dirty --watch",
"upgrade": "run-s upgrade:*",
"upgrade:bump": "ncu --upgrade --filterVersion \"/^\\^/\"",
Expand Down

0 comments on commit be7ab8a

Please sign in to comment.