summaryrefslogtreecommitdiff
path: root/tools/eslint/lib/rules/unicode-bom.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/eslint/lib/rules/unicode-bom.js')
-rw-r--r--tools/eslint/lib/rules/unicode-bom.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/eslint/lib/rules/unicode-bom.js b/tools/eslint/lib/rules/unicode-bom.js
index 931d840b55..d7f38a2dcb 100644
--- a/tools/eslint/lib/rules/unicode-bom.js
+++ b/tools/eslint/lib/rules/unicode-bom.js
@@ -35,7 +35,7 @@ module.exports = {
Program: function checkUnicodeBOM(node) {
- let sourceCode = context.getSourceCode(),
+ const sourceCode = context.getSourceCode(),
location = {column: 0, line: 1},
requireBOM = context.options[0] || "never";