1alert('foo'); // eslint-disable-line
2
3// eslint-disable-next-line
4alert('foo');
5
1Please watch this video to know more about ESLint in React:
2[https://www.youtube.com/watch?v=gC2SDTeCDYs][1]
3
4From this video, you can learn:
5
61) How we can disable ESLint in a specific file
72) How we can disable ESLint for a specific block in a specific file
83) How we can disable ESLint for the whole react project
9
10
11 [1]: https://www.youtube.com/watch?v=gC2SDTeCDYs