Skip to content

Commit

Permalink
fix: Rails/Pluckルールを無効化
Browse files Browse the repository at this point in the history
  • Loading branch information
aki77 committed Jul 28, 2020
1 parent 4b86d69 commit 79e9de4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rails/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,9 @@ Rails/MatchRoute:
Enabled: false
Rails/NegateInclude:
Enabled: true
# NOTE: Active Record以外のケースでも誤判定して自動修正するケースがあるので危険
Rails/Pluck:
Enabled: true
Enabled: false
Rails/PluckInWhere:
Enabled: true
Rails/RenderInline:
Expand Down

0 comments on commit 79e9de4

Please sign in to comment.