Skip to content

Commit

Permalink
Merge pull request #133 from koic/enable_lint_ensure_return_cop
Browse files Browse the repository at this point in the history
Enable `Lint/EnsureReturn` cop
  • Loading branch information
koic authored Feb 7, 2022
2 parents 9dc9ce3 + 36a02e8 commit fac204b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/rails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,9 @@ Lint/DuplicateMethods:
Lint/ErbNewArguments:
Enabled: true

Lint/EnsureReturn:
Enabled: true

# Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
Lint/RequireParentheses:
Enabled: true
Expand Down

0 comments on commit fac204b

Please sign in to comment.