Skip to main content
Code and think

JavaScript ESLint rule disable

Lint is a popular tool of performing a static code analysis. For JavaScript, you can use a popular tool ESLint. Sometimes you do not want to change some part of the code which violates the lint rules. In such case, there are a few ways how to disable the check:

To disable all rules, do not specify any.

Reference