3 ms·
Not really a bug, but I just ran into this. A linter for Ruby that only wants double quotes if there is string interpolation and prevents builds from triggering
by sethammons 10y ago
Not really a bug, but I just ran into this. A linter for Ruby that only wants double quotes if there is string interpolation and prevents builds from triggering. Never mind if you want to avoid escaping single quotes for readability. Here is a work around ;)
fuck_linters = ''
linted_string = "${fuck_linters}don't stop apostrophes"
- lloeki 10y ago> A linter for Ruby that only wants double quotes if there is string interpolation and prevents builds from triggering Is that Rubocop? Put this in `.rubocop.yml`: Style/StringLiterals: EnforcedStyle: double_quotes More here: https://github.com/bbatsov/rubocop/blob/master/config/default.yml https://github.com/bbatsov/rubocop/blob/master/config/defaul...
- sethammons 10y agoIt is Tailor. Thanks for the info.