Skip to content

Commit 0934a27

Browse files
committed
tools: enable unicode-bom ESLint rule
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`. PR-URL: #11479 Reviewed-By: Sam Roberts <[email protected]> Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 3951bd9 commit 0934a27

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.eslintrc.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ rules:
113113
space-in-parens: [2, never]
114114
space-infix-ops: 2
115115
space-unary-ops: 2
116+
unicode-bom: 2
116117

117118
# ECMAScript 6
118119
# http://eslint.org/docs/rules/#ecmascript-6

0 commit comments

Comments
 (0)