Disable Eslint Per File

December 20, 2017

One of the most annoying thing is ESLint keep nagging about errors when you are changing code for debugging purpose. You can disable ESLint for a file by adding /* eslint-disable */ at the top of the file.

/* eslint-disable */

const msg = 'Dont nag me'
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.