Skip to content

Commit

Permalink
replace deprecated avoid-escape via avoidEscape
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Jul 5, 2022
1 parent 595227c commit bc63ebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ const base = {
// enforce padding within blocks
'padded-blocks': [ERROR, NEVER],
// specify whether double or single quotes should be used
quotes: [ERROR, 'single', 'avoid-escape'],
quotes: [ERROR, 'single', { avoidEscape: true }],
// require or disallow use of quotes around object literal property names
'quote-props': [ERROR, 'as-needed', { keywords: false }],
// require or disallow use of semicolons instead of ASI
Expand Down

0 comments on commit bc63ebd

Please sign in to comment.