Skip to content

Commit be41258

Browse files
committed
chore: remove deprecated yarn check from pre-commit
The `yarn check` command is deprecated in Yarn 1.x and gives false positives when there are multiple versions of the same package in the dependency tree (e.g., ajv 6.x for eslint vs ajv 8.x for schema-utils). Lint and test hooks remain to validate code quality.
1 parent 929549d commit be41258

File tree

2 files changed

+198
-159
lines changed

2 files changed

+198
-159
lines changed

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
"build-example": "webpack",
1212
"dev": "webpack serve --open",
1313
"prepublishOnly": "npm run build",
14-
"validate": "yarn check",
1514
"preversion": "npm run lint",
1615
"version": "git add CHANGELOG.md",
1716
"postversion": "git push && git push --tags",
@@ -76,7 +75,6 @@
7675
},
7776
"pre-commit": [
7877
"lint",
79-
"validate",
8078
"test"
8179
]
8280
}

0 commit comments

Comments
 (0)