Skip to content

Commit

Permalink
Exclude rswag tests from Rails/HttpPositionalArguments
Browse files Browse the repository at this point in the history
  • Loading branch information
gorka-sq committed Jun 6, 2024
1 parent dd0fd9a commit 7ff779b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ Rails/ContentTag:
Rails/FilePath:
EnforcedStyle: "arguments"

# Exclude rswag specs from this cop, as it missinterprets test tags
Rails/HttpPositionalArguments:
Exclude:
- '**/spec/api/**/*'

# Prefer assert_not_x over refute_x
Rails/RefuteMethods:
Include:
Expand Down

0 comments on commit 7ff779b

Please sign in to comment.