Skip to content

Commit be7ab8a

Browse files
authored
Added npm run fix to fix ESLint errors (#7337)
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.
1 parent 36e5263 commit be7ab8a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
"check:style": "run-p check:style:*",
3434
"check:style:scss": "stylelint \"src/**/*.scss\"",
3535
"check:style:ts": "eslint --cache \"src/**/*.ts\"",
36+
"fix": "run-p fix:*",
37+
"fix:style": "run-p fix:style:*",
38+
"fix:style:ts": "eslint --cache \"src/**/*.ts\" --fix",
3639
"start": "ts-node -T tools/build --verbose --all --dirty --watch",
3740
"upgrade": "run-s upgrade:*",
3841
"upgrade:bump": "ncu --upgrade --filterVersion \"/^\\^/\"",

0 commit comments

Comments
 (0)