Skip to content

Commit

Permalink
Merge pull request #71 from voxpupuli/namingpar
Browse files Browse the repository at this point in the history
rubocop: Naming/MethodParameterName: Add common short parameters names to AllowedNames
  • Loading branch information
bastelfreak authored Mar 12, 2022
2 parents 8973588 + 7f7e48b commit 4aacac7
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 4aacac7

Please sign in to comment.