diff --git a/package.json b/package.json index c0ad9478..49782ce2 100644 --- a/package.json +++ b/package.json @@ -51,6 +51,7 @@ "lint:md": "markdownlint --ignore node_modules --ignore CHANGELOG.md \"**/*.md\"", "lint": "npm-run-all --print-label --parallel lint:*", "prettier:write": "prettier --write --ignore-path .gitignore \"**/*.{html,json,md,yaml,yml}\"", + "format": "npm-run-all --print-label --parallel lint:js:fix prettier:write", "release": "standard-version --sign", "release:dry-run": "npm run release -- --dry-run" }, diff --git a/test/fixtures/package-empty_expected.json b/test/fixtures/package-empty_expected.json index e9364714..b1c2833f 100644 --- a/test/fixtures/package-empty_expected.json +++ b/test/fixtures/package-empty_expected.json @@ -8,6 +8,7 @@ "lint:md": "markdownlint --ignore node_modules --ignore CHANGELOG.md \"**/*.md\"", "lint": "npm-run-all --print-label --parallel lint:*", "prettier:write": "prettier --write --ignore-path .gitignore \"**/*.{html,json,md,yaml,yml}\"", + "format": "npm-run-all --print-label --parallel lint:js:fix prettier:write", "release": "standard-version --sign", "release:dry-run": "npm run release -- --dry-run" }, diff --git a/test/fixtures/package-normal_expected.json b/test/fixtures/package-normal_expected.json index 7a242d7b..7613c50b 100644 --- a/test/fixtures/package-normal_expected.json +++ b/test/fixtures/package-normal_expected.json @@ -8,6 +8,7 @@ "lint:md": "markdownlint --ignore node_modules --ignore CHANGELOG.md \"**/*.md\"", "lint": "npm-run-all --print-label --parallel lint:*", "prettier:write": "prettier --write --ignore-path .gitignore \"**/*.{html,json,md,yaml,yml}\"", + "format": "npm-run-all --print-label --parallel lint:js:fix prettier:write", "release": "standard-version --sign", "release:dry-run": "npm run release -- --dry-run" },