diff --git a/husky.config.js b/husky.config.js index 4c2ec3ae8..ebac8829f 100644 --- a/husky.config.js +++ b/husky.config.js @@ -1,6 +1,6 @@ module.exports = { hooks: { - 'pre-commit': 'lint-staged', + 'pre-commit': 'lint-staged && node ./scripts/yarn-lock-scan.js', 'commit-msg': 'commitlint -E HUSKY_GIT_PARAMS', }, }; diff --git a/package.json b/package.json index e022ac308..f032adec1 100644 --- a/package.json +++ b/package.json @@ -74,9 +74,6 @@ ], "*package.json": [ "node ./scripts/lint-versions.js" - ], - "yarn.lock": [ - "node ./scripts/yarn-lock-scan.js" ] }, "bundlesize": [