This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
[mrm-task-lint-staged] lint-staged task not suitable for running multiple times on a project #196
Labels
You can continue the conversation there. Go to discussion →
lint-staged task appends
npx lint-staged
to.husky/pre-commit
every time it runs which renders it unsuitable for running more than once. To reproduce:Results are the same if I use
npx mrm lint-staged
instead ofnpx mrm@2 lint-staged
.My understanding is that mrm is meant to handle configuration upgrades so running
npx mrm@2 lint-staged
a second time should have resulted in no changes as there is nothing to upgrade.The text was updated successfully, but these errors were encountered: