mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-23 23:21:00 +01:00
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.
This commit is contained in:
parent
36e5263c00
commit
be7ab8a58f
@ -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 \"/^\\^/\"",
|
||||
|
Loading…
Reference in New Issue
Block a user