Skip to content

fix(quotes): quotes options execute allowTemplateLiterals first then avoidEscape - #544

Merged
antfu merged 1 commit into
eslint-stylistic:mainfrom
zzxming:fix-quotes
Oct 5, 2024
Merged

antfu merged 1 commit into
eslint-stylistic:mainfrom
zzxming:fix-quotes

Conversation

@zzxming

@zzxming zzxming commented Sep 23, 2024

Copy link
Copy Markdown
Member

Description

only when allowTemplateLiterals set true, allow template literals to avoid escape sequences

Linked Issues

close #542

Additional context

@codecov

codecov Bot commented Sep 23, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.44%. Comparing base (ff69053) to head (ba346e0).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #544   +/-   ##
=======================================
  Coverage   97.44%   97.44%           
=======================================
  Files         120      120           
  Lines       19563    19563           
  Branches     4649     4649           
=======================================
  Hits        19064    19064           
  Misses        497      497           
  Partials        2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@antfu
antfu added this pull request to the merge queue Oct 5, 2024
Merged via the queue into eslint-stylistic:main with commit 7e3a0d3 Oct 5, 2024
@Zamiell

Zamiell commented Oct 5, 2024

Copy link
Copy Markdown

Thank you zzxming!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

quotes: allowTemplateLiterals false does not work properly

3 participants