© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Matt Strom
Software Engineer, TypeScript ninja
ESLint has several warning suppression mechanisms, such as
// eslint:disable-line
See here for more details: eslint.org/docs/user-guide/configuring
Abinav Seelan
UI Engineer @Flipkart • https://abinavseelan.com 🙃
But is there a way to do it globally via my eslintrc or via pre-commit? 🤔
eslintrc
pre-commit
TheSheriff
Co-Founder, Founder, Entrepreneur & Problem Solver
Abinav Seelan You could try and change the settings of eslint to make the warnings into info instead, that way it wouldn't break the commit. If it can't be done with eslint then look at changing linter?