Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to use single quote #13

Open
neves opened this issue Dec 20, 2015 · 1 comment
Open

Option to use single quote #13

neves opened this issue Dec 20, 2015 · 1 comment

Comments

@neves
Copy link

neves commented Dec 20, 2015

https://github.com/bbatsov/ruby-style-guide#consistent-string-literals

Options:
  -q, --quote=<s>    Quote style ('single' or 'double') (default: double)
@joonty
Copy link
Owner

joonty commented Apr 20, 2018

I wonder if a user-friendly default would be to check which quote style the Gemfile uses by majority. Obviously, double quotes are superior (🔥) but consistency is definitely the most important thing. Then we could add the command line argument as a way of forcing one or the other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants