From 32112f188c355b38013429f06bcca5891993884f Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Tue, 21 Feb 2017 18:35:09 +0100 Subject: [PATCH] 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`. --- .eslintrc.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.yaml b/.eslintrc.yaml index b0337c15256d5a..ba6334b0346985 100644 --- a/.eslintrc.yaml +++ b/.eslintrc.yaml @@ -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