Improperly flags invalid-string-quote when embedding quotes in string
marcoceppi opened this issue · 3 comments
marcoceppi commented
When producing a string like:
var = "'quoted text' should be 'singled'"
I get the follwoing
Invalid string quote ", should be ' (invalid-string-quote)
Error
edaniszewski commented
@marcoceppi What configuration were you running with? This sounds right to me as a default behavior where the checker is strict. You could try configuring with single-quote=single-avoid-escape
which should loosen the constraints when there are embedded quotes. I think that may fix this error
marcoceppi commented
That seems to help, thanks!
edaniszewski commented
I'll update docs to make this more clear -- thanks for opening the issue (: