Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot add lint-staged: only eslint, stylelint, prettier or custom rules are supported. #147

Closed
mikemfleming opened this issue Feb 24, 2021 · 3 comments

Comments

@mikemfleming
Copy link

Expected

npx mrm lint-staged runs without error.

Actual

$ nvm use 14.15.5
Now using node v14.15.5 (npm v6.14.11)
$ npx mrm lint-staged
npx: installed 240 in 8.473s
Running lint-staged...

Cannot add lint-staged: only eslint, stylelint, prettier or custom rules are supported.
@sapegin
Copy link
Owner

sapegin commented Feb 25, 2021

The error message is clear I think: that's what the task supports now.

@sapegin sapegin closed this as completed Feb 25, 2021
@foxyblocks
Copy link

I get this same error when running the example from the mrm documentation

npm install -g mrm mrm-task-lint-staged
mrm lint-staged

If this usage isn't supported how should the lint-staged task be used?

@vogelino
Copy link

vogelino commented Apr 8, 2021

I also get this message and I disagree with you @sapegin. This error message doesn't help me, as I don't know what to do from there. I do use eslint and prettier, so a message that tells me that only eslint and prettier is supported sounds contradictory to me. Any suggestion on how to fix this issue? @mikemfleming @foxyblocks could you solve your problem?

Repository owner locked as resolved and limited conversation to collaborators Apr 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants