Replies: 5 comments
-
Same issue happens on the CRA with pretty simple package.json, I am confused! |
Beta Was this translation helpful? Give feedback.
-
I also had this issue setting it up on a monorepo, which has multiple different languages and will have all custom scripts. I think it should warn and then install a minimal setup instead of just failing. |
Beta Was this translation helpful? Give feedback.
-
To be 100% clear for future readers, The task tries to determine what tools you're using not just based on your npm scripts as implied by the documentation. You can find the code here. It is definitely confusing that the task has pretty specific requirements for what it's looking for, especially if you're coming from the |
Beta Was this translation helpful? Give feedback.
-
before running npx mrm@2 lint-staged {
"eslint": "^some.version.number",
"prettier": "^some.version.number"
} |
Beta Was this translation helpful? Give feedback.
-
Could dprint be supported directly? |
Beta Was this translation helpful? Give feedback.
-
I attempted to continue the discussion on #147 but the owner gently just shot down the issue and blocked all comments. What a way to treat your community. Feel free to do the same here but I just wanted to add:
I was able to identify the problem. The error message suggests that only some libraries are supported, but the error in my case was that eslint wasn't installed as devDependencies but instead globally. This is stated is the docs, but the error message could be made more helpful with an addition such as "Are you sure that you installed all dependencies locally"?
Beta Was this translation helpful? Give feedback.
All reactions