-
I have this line in my code:
```
mount Sidekiq::Web => "/jobs", :as => "jobs", :constraints => Constraints::Staff.new
```
I wanted to change it to:
```
mount Sidekiq::Web => "/jobs", as: "…
-
Rubocop is a very popular gem. Right now we are at almost half a billion downloads at rubygems.org.
I used rubocop in the past to update an old, abandoned code base written by someone else. It work…
-
## Expected behavior
Offense for the following:
```rb
foo? ? bar : 1
foo? ? 1 : bar
```
## Actual behavior
No offense. There is already handling for `1 if foo?` so this seems like a logical improv…
-
Our existing `rubocop.yml` and `.rubocop_todo.yml` configurations along with our RuboCop version lock applied by `newrelic_rpm.gemspec` layer together to provide us with a stable linting platform that…
-
You will use RuboCop to enforce style guidelines. This is not a requirement for the project, but it's something we'd like for y'all to set up.
RuboCop will be installed when you bundle install. Simply…
-
Seems that some cops were extracted from rubocop-spec to a new gem called rubocop-rspec_rails, but aparently code climate didn't support it.
Ref: https://github.com/rubocop/rubocop-rspec/pull/1830
…
-
┆Issue is synchronized with this [Jira Task](https://ably.atlassian.net/browse/ECO-4079) by [Unito](https://www.unito.io)
-
### Issue list
- [x] [Lint/ConstantDefinitionInBlock](https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Lint/ConstantDefinitionInBlock) (#12316)
- [x] [Lint/DuplicateBranch](https://www.rubydoc.info/…
-
Тут бы рубокопом пройтись, он явно будет жаловаться на отсутствие пробела перед комментом
https://github.com/rublen/binance/blob/453741173288f9c08b9df5fbe6d969741a02e30d/app/models/credentials.rb#L…
-
## Is your feature request related to a problem? Please describe.
It's kinda laborious to maintain my .rubocop.yml file - I spend a lot of time switching between my browser and editor, have to worr…