Skip to content

Commit

Permalink
tools: enable unicode-bom ESLint rule
Browse files Browse the repository at this point in the history
Disallow UTF-8 Byte Order Marks in the source tree.
That Node can read these files is still tested
by `test/sequential/test-module-loading.js`.
  • Loading branch information
addaleax committed Feb 21, 2017
1 parent cd0fd16 commit 32112f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ rules:
space-in-parens: [2, never]
space-infix-ops: 2
space-unary-ops: 2
unicode-bom: 2

# ECMAScript 6
# http://eslint.org/docs/rules/#ecmascript-6
Expand Down

0 comments on commit 32112f1

Please sign in to comment.