Skip to content

Commit

Permalink
rubocop: Naming/MethodParameterName: Add some values to AllowedNames
Browse files Browse the repository at this point in the history
  • Loading branch information
root-expert committed Mar 12, 2022
1 parent 8973588 commit 7f7e48b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,9 @@ RSpec/ContextWording:
Naming/HeredocDelimiterNaming:
Enabled: false

Naming/MethodParameterName:
AllowedNames: ['at', 'by', 'to', 'db', 'id', 'in', 'io', 'ip', 'of', 'on', 'os', 'pp', 'is']

# New cops available after rubocop upgrade
Gemspec/DateAssignment: # (new in 1.10)
Enabled: true
Expand Down

0 comments on commit 7f7e48b

Please sign in to comment.