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

Remove potential Unicode BOM #65

Merged
merged 1 commit into from
Jul 29, 2014
Merged

Remove potential Unicode BOM #65

merged 1 commit into from
Jul 29, 2014

Conversation

akkumanova
Copy link
Contributor

This pull request strips potential unicode BOM from the files before passing it to jshint as jshint cli does (link to code) and as suggested by nodejs developers (link). This is needed because some text editors insist on setting the BOM (e.g. Visual Studio).

spalger pushed a commit that referenced this pull request Jul 29, 2014
Remove potential Unicode BOM
@spalger spalger merged commit d1415dd into spalger:master Jul 29, 2014
@spalger
Copy link
Owner

spalger commented Jul 29, 2014

Awesome, thanks @akkumanova.

@yocontra
Copy link
Collaborator

gulp has been removing the BOM for months, this commit will just slow stuff down since the BOM is already removed. See gulpjs/vinyl-fs#21 - I would recommend reverting this

@spalger
Copy link
Owner

spalger commented Jul 30, 2014

Interesting. Thank you @contra

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants