This repository has been archived by the owner on Nov 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 56
prefer_single_quotes needs an automatic fix #47
Comments
Yes. The fix for In order to use it you'll need a version of the analysis server that's newer than that. Because the analysis server is shipped with the SDK, that typically means a version of the SDK that newer. I don't know whether there has been a release of the SDK since that date. |
How does one use the "fix"? I tried running |
Use the package dartfix, it contains the fix for that in the latest version
…On Sun., Jun. 7, 2020, 15:02 Anthony Whitford, ***@***.***> wrote:
How does one use the "fix"? I tried running dartfmt, but it does not
address this issue. I am using *Dart version 2.8.4* and *Flutter version
1.17.3*.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVCNSDHSZLBI3WVMFPTLQDRVPP6DANCNFSM4KGW4I4A>
.
|
The fixes are also available in many editors, such as IntelliJ and VS Code. |
Last time I checked it wasn't available in IDEs (the one to bulk fix quotes
in multiple files), I could only find the fix within dartfix
…On Sun., Jun. 7, 2020, 19:06 Brian Wilkerson, ***@***.***> wrote:
Closed #47 <#47>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#47 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVCNSDOO4M3AS3TQT2ZQYLRVQMONANCNFSM4KGW4I4A>
.
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Since this rule is enabled by default in pedantic, my project has more than 6000 warnings.
Would it be an option to add a dartfmt fix for this, as there's no easy way to change it for us without analyzing each occurrence for an escaped single quote in the strings.
The text was updated successfully, but these errors were encountered: