Skip to content

Commit d10cd6a

Browse files
authored
fix(lint-staged): add yarn command to lint staged to ensure the lock file is updated (#3603)
1 parent bb845cb commit d10cd6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lint-staged.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = {
77
"eslint --fix --cache --no-error-on-unmatched-pattern --quiet"
88
],
99
"package.json": (files) => [
10-
"yarn constraints --fix",
10+
"yarn constraints --fix && yarn install",
1111
`eslint --fix --cache --no-error-on-unmatched-pattern --quiet ${files.join(" ")}`,
1212
],
1313
"dist/*.css": [

0 commit comments

Comments
 (0)