Skip to content

Commit

Permalink
Lint: Rails/RakeEnvironment
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredbeck committed Nov 26, 2022
1 parent 3ad8bf2 commit e98e639
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 4 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ Performance/CollectionLiteralInLoop:
Exclude:
- spec/**/*

# This cop only applies to app dev, not gem dev.
Rails/RakeEnvironment:
Enabled: false

# Good advice for rails applications, but not applicable to libraries like PT.
Rails/SkipsModelValidations:
Enabled: false
Expand Down
8 changes: 0 additions & 8 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: Include.
# Include: **/Rakefile, **/*.rake
Rails/RakeEnvironment:
Exclude:
- 'Rakefile'

# Offense count: 4
# Cop supports --auto-correct.
Rails/RedundantForeignKey:
Expand Down

0 comments on commit e98e639

Please sign in to comment.