Last Updated on April 15, 2021.
ESLint is a code analysis tool that helps you to fix issues such as syntax errors in your code easily. Simply, it increases the productivity of a developer. In some rare cases, you may want to disable ESLint for a particular file in react native.
The way to disable ESLint for a file by adding the following comment at the top of your file.
/* eslint-disable */
That’s it. The ESLint will disabled for that specific file.
I hope this simple tutorial will be helpful for you.