Skip to content

Commit da303a5

Browse files
committed
add lint:changelog package script
1 parent 3139fc3 commit da303a5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
"build": "tsc --project tsconfig.build.json",
2828
"build:clean": "rimraf dist && yarn build",
2929
"build:docs": "typedoc",
30-
"lint": "yarn lint:eslint && yarn lint:misc --check",
30+
"lint": "yarn lint:eslint && yarn lint:misc --check && yarn lint:changelog",
31+
"lint:changelog": "auto-changelog validate",
3132
"lint:eslint": "eslint . --cache --ext js,ts",
3233
"lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write",
3334
"lint:misc": "prettier '**/*.json' '**/*.md' '!CHANGELOG.md' '**/*.yml' '!.yarnrc.yml' --ignore-path .gitignore --no-error-on-unmatched-pattern",

yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ __metadata:
922922
languageName: node
923923
linkType: hard
924924

925-
"@metamask/auto-changelog@npm:^3.1.0":
925+
"@metamask/auto-changelog@npm:^3.2.0":
926926
version: 3.2.0
927927
resolution: "@metamask/auto-changelog@npm:3.2.0"
928928
dependencies:
@@ -990,7 +990,7 @@ __metadata:
990990
resolution: "@metamask/rpc-errors@workspace:."
991991
dependencies:
992992
"@lavamoat/allow-scripts": ^2.0.3
993-
"@metamask/auto-changelog": ^3.1.0
993+
"@metamask/auto-changelog": ^3.2.0
994994
"@metamask/eslint-config": ^11.1.0
995995
"@metamask/eslint-config-jest": ^11.1.0
996996
"@metamask/eslint-config-nodejs": ^11.1.0

0 commit comments

Comments
 (0)