Skip to content

Commit 99513fa

Browse files
committed
dev environment: Add npm run fix to fix (some) esLint errors
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 73d50aa commit 99513fa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

package.json

+3
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)