Skip to content

Commit

Permalink
Disable Rails/RakeEnvironment cop
Browse files Browse the repository at this point in the history
We have tasks that are not needing the Rails environment for builds and such that are not in the Rails app

Rubocop flags those by mistake because it does not know we are not an
app, but an engine.
  • Loading branch information
tvdeyen committed Feb 8, 2024
1 parent 3080632 commit 042193c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@ Rails/SkipsModelValidations:
Exclude:
- '*/spec/**/*'

# We have tasks that are not needing the Rails environment for builds and such that are not in the Rails app
Rails/RakeEnvironment:
Enabled: false

# We use a lot of
#
# expect {
Expand Down

0 comments on commit 042193c

Please sign in to comment.