I'm using the pre-commit module to lint my code with eslint before committing. While I want linting errors to break my commit, I don't want linting warnings to break it.
Is there a way to do this? 🙂
ESLint has several warning suppression mechanisms, such as
// eslint:disable-line
See here for more details: eslint.org/docs/user-guide/configuring
Matt Strom
Software Engineer, TypeScript ninja
Yeah, don't use a linter. Waste of time, waste of effort, and at BEST a crutch for people who probably shouldn't be coding in the first place. PARTICULARLY given some of the absurdly irrelevant and nonsensical rules people seem to LOVE to plug into them that have Jack-all to do with the rules of the language being used.
It's just ANOTHER example of being over-reliant on some goofy tool, instead of relying on the most important tool of all -- the one between your ears.
Shankar UI
Abinav Seelan Did you get any solution for this?