Ok, done:
https://github.com/eslint/eslint/issues/4878


On Thursday, January 7, 2016 at 8:32:03 PM UTC+1, Nicholas Zakas wrote:
>
> That sounds like a good idea, please create an issue so we can address 
> this.
>
> -N
>
> On Thu, Jan 7, 2016 at 11:05 AM, Alfonso Martínez de Lizarrondo <
> [email protected] <javascript:>> wrote:
>
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
>
> ______________________________
> Nicholas C. Zakas
> @slicknet
>
> Author, Professional JavaScript for Web Developers
> Buy it at Amazon.com: 
> http://www.amazon.com/Professional-JavaScript-Developers-Nicholas-Zakas/dp/1118026691/ref=sr_1_3
>

-- 
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