JSHint Error : This character may get silently deleted by one or more browsers

broccolijs, ember-cli, jshint, node-modules

Solution

This character is the UTF-8 BOM (Byte Order Mark), nothing to worry about. Just open the file in Notepad++ or another editor and change the encoding from 'UTF-8' to 'UTF-8 without BOM'.

Problem

line 1, col 0, This character may get silently deleted by one or more browsers. I get this error 4 times, for every .js file I've added. For instance error text: 'scripts/models/company.js: line 1, col 0, This character may get silently deleted by one or more browsers ' scripts/models/company.js content: ``` import DS from "ember-data"; export default DS.Model.extend({ name: DS.attr('string'), address: DS.attr('string') }); ```

Original source