DEV Community

loading...

Discussion on: Linting, committing and pushing your code in one magic command

Collapse
pathakpratik profile image
Pratik Pathak

Amazing.

Wondering what will happen if the linting error is not auto fixable? In some cases, files which have not been changed may also through some error. I have encountered this while using Typescript tsc command. Any suggestions for that?

Collapse
emma profile image
Emma Goto 🍙 Author

If the limiting error isn't auto fixable, it will fail, so your code won't get commited or pushed. You'll have to go back and manually fix it!