Update checked-in dependencies
This commit is contained in:
parent
6b0d45a5c6
commit
cc1adb825a
4247 changed files with 144820 additions and 149530 deletions
7
node_modules/eslint/lib/rules/quotes.js
generated
vendored
7
node_modules/eslint/lib/rules/quotes.js
generated
vendored
|
|
@ -282,9 +282,12 @@ module.exports = {
|
|||
description: settings.description
|
||||
},
|
||||
fix(fixer) {
|
||||
if (quoteOption === "backtick" && astUtils.hasOctalEscapeSequence(rawVal)) {
|
||||
if (quoteOption === "backtick" && astUtils.hasOctalOrNonOctalDecimalEscapeSequence(rawVal)) {
|
||||
|
||||
// An octal escape sequence in a template literal would produce syntax error, even in non-strict mode.
|
||||
/*
|
||||
* An octal or non-octal decimal escape sequence in a template literal would
|
||||
* produce syntax error, even in non-strict mode.
|
||||
*/
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue