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

Style/StringLiterals の symbol 版 #12

Closed
pocke opened this issue Nov 12, 2017 · 1 comment
Closed

Style/StringLiterals の symbol 版 #12

pocke opened this issue Nov 12, 2017 · 1 comment

Comments

@pocke
Copy link
Contributor

pocke commented Nov 12, 2017

"foo"のようなリテラルはsingle quoteを使えと怒られるが、:"foo-bar"のようなリテラルは怒られないため、これを怒るCopが必要。

Style/StringLiterals をそのまま持ってくれば動くのかは、よくわからない。

@koic
Copy link
Member

koic commented May 20, 2021

rubocop/rubocop#9809 で実現されました。次にリリースされる RuboCop 1.16 あたりで導入される見込みです。

@koic koic closed this as completed May 20, 2021
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