Skip to content

Commit 04440c5

Browse files
NullVoxPopulibmish
andauthored
Add lint:fix script (#2036)
* Add lint:fix * Update package.json Co-authored-by: Bryan Mishkin <[email protected]> * Update package.json Co-authored-by: Bryan Mishkin <[email protected]> * Add some lint fixes * Update package.json Co-authored-by: Bryan Mishkin <[email protected]> * Update package.json Co-authored-by: Bryan Mishkin <[email protected]> * Update package.json Co-authored-by: Bryan Mishkin <[email protected]> --------- Co-authored-by: Bryan Mishkin <[email protected]>
1 parent d0fa05e commit 04440c5

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,14 @@
3636
],
3737
"scripts": {
3838
"changelog": "lerna-changelog",
39-
"lint": "npm-run-all --continue-on-error --aggregate-output --parallel lint:*",
39+
"lint": "npm-run-all --continue-on-error --aggregate-output --parallel \"lint:!(fix)\"",
4040
"lint:docs": "markdownlint \"**/*.md\"",
41+
"lint:docs:fix": "npm-run-all \"update:docs -- --fix\"",
4142
"lint:eslint-docs": "npm-run-all \"update:eslint-docs -- --check\"",
43+
"lint:eslint-docs:fix": "npm-run-all \"update:eslint-docs\"",
44+
"lint:fix": "npm-run-all \"lint:*:fix\"",
4245
"lint:js": "eslint --cache .",
46+
"lint:js:fix": "npm-run-all \"lint:js -- --fix\"",
4347
"lint:package-json": "npmPkgJsonLint .",
4448
"lint:package-json-sorting": "sort-package-json --check",
4549
"lint:package-json-sorting:fix": "sort-package-json package.json",

0 commit comments

Comments
 (0)