Closed igor-alexandrov closed 1 year ago
@jv-asana I updated rubocop and rubocop-rspec to the latest versions.
rubocop
rubocop-rspec
Also your existing .rubocop.yml has an explicit Include: config setting which is targeted only to the Rakefile (https://github.com/Asana/ruby-asana/blob/master/.rubocop.yml#L3). This means that currently rubocop checks only Rakefile and nothing more. I removed it (existing Rubocop default config already includes Rakefile: https://github.com/rubocop/rubocop/blob/master/config/default.yml) and after this I had to fix all offenses (that were ignored) over the project codebase.
.rubocop.yml
Include:
Got it, let's make Asana gem better together!
@jv-asana I updated
rubocop
andrubocop-rspec
to the latest versions.Also your existing
.rubocop.yml
has an explicitInclude:
config setting which is targeted only to the Rakefile (https://github.com/Asana/ruby-asana/blob/master/.rubocop.yml#L3). This means that currentlyrubocop
checks only Rakefile and nothing more. I removed it (existing Rubocop default config already includes Rakefile: https://github.com/rubocop/rubocop/blob/master/config/default.yml) and after this I had to fix all offenses (that were ignored) over the project codebase.