summaryrefslogtreecommitdiff
path: root/tools/eslint/lib/rules/no-multi-str.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/eslint/lib/rules/no-multi-str.js')
-rw-r--r--tools/eslint/lib/rules/no-multi-str.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/eslint/lib/rules/no-multi-str.js b/tools/eslint/lib/rules/no-multi-str.js
index 1d88010459..78930ab0b7 100644
--- a/tools/eslint/lib/rules/no-multi-str.js
+++ b/tools/eslint/lib/rules/no-multi-str.js
@@ -39,7 +39,7 @@ module.exports = {
return {
Literal: function(node) {
- let lineBreak = /\n/;
+ const lineBreak = /\n/;
if (lineBreak.test(node.raw) && !isJSXElement(node.parent)) {
context.report(node, "Multiline support is limited to browsers supporting ES5 only.");