My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMSย for Enterprise.
Upgrade โœจLearn more

Is there a way to ignore eslint warnings when using pre-commit?

Abinav Seelan's photo
Abinav Seelan
ยทFeb 13, 2018

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? ๐Ÿ™‚