diff options
Diffstat (limited to 'tools/eslint/lib/rules/no-multi-str.js')
-rw-r--r-- | tools/eslint/lib/rules/no-multi-str.js | 2 |
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."); |