[eslint config] [base] [breaking] enable unicode-bom rule

This commit is contained in:
Jordan Harband
2016-06-04 17:58:25 -07:00
parent ab4baf457e
commit d9cb343b51

View File

@@ -246,6 +246,10 @@ module.exports = {
markers: ['=', '!'] // space here to support sprockets directives
}],
// require or disallow the Unicode Byte Order Mark
// http://eslint.org/docs/rules/unicode-bom
'unicode-bom': [2, 'never'],
// require regex literals to be wrapped in parentheses
'wrap-regex': 0
}