Hello

I understand that the no-irregular-whitespace is a good check to validate 
that the contents of the files are OK before going crazy about invisible 
things, but the problem is that most of the time I work with files saved as 
UTF-8 with the BOM at the start, and that causes a warning.
line 1, col 1, Error - Irregular whitespace not allowed 
(no-irregular-whitespace)

Of course I can add // eslint-disable-line no-irregular-whitespace at the 
beginning of each file, but that sounds like a workaround adding that to 
every js file just to keep EsLint happy.

So I think that it would be good to be able (at least as an option) to 
ignore the BOM at the start of the file (but not in any other place).

Is this worth to create an issue about this?

Regards

-- 
You received this message because you are subscribed to the Google Groups 
"ESLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to