Skip to content

Commit d1f3328

Browse files
committed
feat(quotes): add avoidEscape option to be compatible with prettier
1 parent 579d739 commit d1f3328

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ module.exports = {
357357
'prefer-spread': OFF,
358358
'prefer-template': OFF,
359359
'quote-props': [ERROR, 'as-needed'],
360-
quotes: [ERROR, 'single'],
360+
quotes: [ERROR, 'single', { avoidEscape: true }],
361361
radix: ERROR,
362362
'require-await': WARN,
363363
'require-jsdoc': OFF,

0 commit comments

Comments
 (0)