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

Error can't commit, failing lint tasks #3438

Closed
niravasher opened this issue Jan 1, 2020 · 2 comments
Closed

Error can't commit, failing lint tasks #3438

niravasher opened this issue Jan 1, 2020 · 2 comments

Comments

@niravasher
Copy link
Contributor

I cannot commit my code, it constantly fails lint tests.
Here is my console
Screenshot from 2020-01-01 16-08-58
Screenshot from 2020-01-01 16-09-24

To solve this I ran the command npm install --save-dev lint-staged@beta
I could then successfully commit but this changes package.json file which results in travis CI test fail as in my PR #3436 compilation failure on running npm start. What should I do?

@niravasher niravasher changed the title Error can't commit, filing lint tasks Error can't commit, failing lint tasks Jan 1, 2020
@montogeek
Copy link
Member

Please run git commit -a -m "your message" --no-verify

@niravasher
Copy link
Contributor Author

Works, thanks @montogeek

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants