Sign in
Log inSign up

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? 🙂

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2025 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct