AtomLinter / linter-puppet-lint

Atom linter plugin for Puppet, using puppet-lint
6 stars 3 forks source link

double_quoted_strings check issue with escaped character #114

Closed michalmiddleton closed 7 years ago

michalmiddleton commented 7 years ago

I noticed that double_quoted_strings check replaces my strings from double quotes to single quotes even when the string contains escaped character.

Example: command => "some path with back\\slashes"

will be replaced with: command => 'some path with back\\slashes'

.. effectively changing the string result.

mschuchard commented 7 years ago

If this is with the option to automatically fix linting issues, then you need to raise this with Puppet-Lint. If this is not, then could you please explain what you are doing here to cause this behavior?

michalmiddleton commented 7 years ago

As my other report, this needs to go Puppet-Lint. Thanks