diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-07-19 15:07:52 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-07-19 15:12:15 +0200 |
commit | d6f669774481b160c2d963b56309ab6262216c42 (patch) | |
tree | 0dd11b283a493370cebd07bf1e6f4bb316a10ad3 /.rubocop_todo.yml | |
parent | b6d3eadfe23997770ca260460c0e22fed6859d45 (diff) | |
download | gitlab-ce-d6f669774481b160c2d963b56309ab6262216c42.tar.gz |
Enable Rubocop cops for invalid access modifiersrubocop/enable-access-modifiers-cops
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.
Diffstat (limited to '.rubocop_todo.yml')
-rw-r--r-- | .rubocop_todo.yml | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 9310e711889..05a5fae8543 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -19,10 +19,6 @@ Lint/AssignmentInCondition: Lint/HandleExceptions: Enabled: false -# Offense count: 21 -Lint/IneffectiveAccessModifier: - Enabled: false - # Offense count: 2 Lint/Loop: Enabled: false @@ -48,10 +44,6 @@ Lint/UnusedBlockArgument: Lint/UnusedMethodArgument: Enabled: false -# Offense count: 11 -Lint/UselessAccessModifier: - Enabled: false - # Offense count: 12 # Cop supports --auto-correct. Performance/PushSplat: |