Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable ESLint in react native project?

I am new to React native Project. I am working on React native latest version 0.61.5 now. The whole project is showing red underline. The reason is ESLint and I want to disable I don't know how to proceed. can anyone please suggest me the way of handling that ESLint in Project.Thanks in advance.

like image 515
Kavitha Madhu Avatar asked Sep 06 '25 03:09

Kavitha Madhu


2 Answers

You could place /* eslint-disable */ at the top of your file to tell ESLint to ignore it.

More disabling rules docs

If you wish to disable eslint for the whole project, you should disabled it in your config

like image 60
0stone0 Avatar answered Sep 07 '25 20:09

0stone0


Hi you can use this to ignore ESLint for some files or path you want ==> https://www.npmjs.com/package/eslint-plugin-disable

enter image description here

like image 41
XwolfY Avatar answered Sep 07 '25 21:09

XwolfY