-
- Downloads
Enable Rubocop cops for invalid access modifiers
This enables following cops: Check for useless access modifiers Lint/UselessAccessModifier Checks for attempts to use `private` or `protected` to set the visibility of a class method, which does not work. Lint/IneffectiveAccessModifier This also disables two false possitives in concerns.
Showing
- .rubocop.yml 9 additions, 0 deletions.rubocop.yml
- .rubocop_todo.yml 0 additions, 8 deletions.rubocop_todo.yml
- app/models/concerns/token_authenticatable.rb 1 addition, 1 deletionapp/models/concerns/token_authenticatable.rb
- lib/gitlab/ci/config/node/configurable.rb 1 addition, 1 deletionlib/gitlab/ci/config/node/configurable.rb
Please register or sign in to comment