Skip to content

Commit

Permalink
disable memoized instance variable name linter for controllers
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelglass committed Jan 2, 2020
1 parent c27dd57 commit d277779
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
7 changes: 3 additions & 4 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ AllCops:
- db/schema.rb
- vendor/**/*





Naming/MemoizedInstanceVariableName:
Exclude:
- app/controllers/**/*
7 changes: 0 additions & 7 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -503,13 +503,6 @@ Naming/HeredocDelimiterNaming:
- 'lib/tasks/db.rake'
- 'spec/services/database_anonymizer_spec.rb'

# Offense count: 1
# Configuration parameters: EnforcedStyleForLeadingUnderscores.
# SupportedStylesForLeadingUnderscores: disallowed, required, optional
Naming/MemoizedInstanceVariableName:
Exclude:
- 'app/controllers/checkiners_controller.rb'

# Offense count: 2
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: io, id, to, by, on, in, at, ip, db, os
Expand Down

0 comments on commit d277779

Please sign in to comment.