◐ Shell
clean mode source ↗

New rule (disabled by default): AvoidUsingDoubleQuotesForConstantString by bergmeister · Pull Request #1470 · PowerShell/PSScriptAnalyzer

PR Summary

Closes #292
The rule is disabled by default to avoid breaking lots of people's CI pipeline and its main purpose is to be used in the formatter. The rule was kept quite simple to not touch constant strings that use single quotes (because then one would have to escape them, which would make the code uglier and therefore is a general exception) or have escape sequences, here it is up to the user.

PR Checklist