Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New rule: unicode-bom #538

Closed
feross opened this issue Jun 2, 2016 · 5 comments
Closed

New rule: unicode-bom #538

feross opened this issue Jun 2, 2016 · 5 comments

Comments

@feross
Copy link
Member

feross commented Jun 2, 2016

http://eslint.org/docs/rules/unicode-bom

This was previously covered by no-irregular-whitespace but BOM characters at the beginning of files are now stripped by eslint, so adding this rule just gets us the old behavior again.

@dougwilson
Copy link

What is the suggested value for the rule? "never" I assume?

@feross
Copy link
Member Author

feross commented Jun 2, 2016

Yep. Setting it to "never" would match the old behavior of the no-irregular-whitespace rule.

@yoshuawuyts
Copy link
Contributor

I'm only like half-understanding this rule; not spotting any way it affects anything I've ever done with JS so 👍 I guess

@feross
Copy link
Member Author

feross commented Jun 2, 2016

@yoshuawuyts See #283 for some more context, if you're interested.

@feross
Copy link
Member Author

feross commented Jul 12, 2016

This rule will be included in standard v8

@lock lock bot locked as resolved and limited conversation to collaborators May 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

3 participants