Skip to content

Commit

Permalink
fix(init): remove needless linting from prerelease script
Browse files Browse the repository at this point in the history
Follow-up of #1142. `npm test` now runs linting.
  • Loading branch information
ybiquitous committed Dec 14, 2021
1 parent 0055333 commit 133f19b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"lint:styles:fix": "npm run prettier -- --write",
"format": "npm-run-all --print-label --parallel lint:*:fix",
"clean": "git clean -dx --force --exclude=node_modules --exclude=.husky",
"prerelease": "git switch main && git pull && npm ci && npm run clean && npm test && npm run lint && npm run clean",
"prerelease": "git switch main && git pull && npm ci && npm run clean && npm test && npm run clean",
"release": "standard-version",
"release:dry-run": "standard-version --dry-run",
"prepare": "husky install"
Expand Down
4 changes: 2 additions & 2 deletions test/__snapshots__/init.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Object {
"lint:types": "tsc --noEmit",
"lint:types:watch": "npm run lint:types -- --watch",
"prepare": "husky install",
"prerelease": "git switch main && git pull && npm ci && npm run clean && npm test && npm run lint && npm run clean",
"prerelease": "git switch main && git pull && npm ci && npm run clean && npm test && npm run clean",
"pretest": "npm run lint",
"prettier": "prettier --ignore-path .gitignore .",
"release": "standard-version",
Expand Down Expand Up @@ -117,7 +117,7 @@ Object {
"lint:types": "tsc --noEmit",
"lint:types:watch": "npm run lint:types -- --watch",
"prepare": "husky install",
"prerelease": "git switch main && git pull && npm ci && npm run clean && npm test && npm run lint && npm run clean",
"prerelease": "git switch main && git pull && npm ci && npm run clean && npm test && npm run clean",
"pretest": "npm run lint",
"prettier": "prettier --ignore-path .gitignore .",
"release": "standard-version",
Expand Down

0 comments on commit 133f19b

Please sign in to comment.