Skip to content

Commit

Permalink
AO3-6713 Silence Reviewdog's complaints about redundant safe navigati…
Browse files Browse the repository at this point in the history
…on in policies
  • Loading branch information
sarken committed Apr 19, 2024
1 parent 301a65d commit d76b818
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ Lint/AmbiguousBlockAssociation:
Lint/AmbiguousRegexpLiteral:
Enabled: false

Lint/RedundantSafeNavigation
Exclude:
# Take a better safe than sorry approach to safe navigation in admin
# policies.
- 'app/policies/*.rb'

Metrics/AbcSize:
Enabled: false

Expand Down

0 comments on commit d76b818

Please sign in to comment.