Skip to content

Commit

Permalink
Merge pull request #41064 from kamipo/enable_lint_duplicate_require_cop
Browse files Browse the repository at this point in the history
Enable `Lint/DuplicateRequire` cop
  • Loading branch information
kamipo committed Jan 9, 2021
2 parents 441c5cd + cbf72c1 commit 19759df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ Lint/AmbiguousOperator:
Lint/AmbiguousRegexpLiteral:
Enabled: true

Lint/DuplicateRequire:
Enabled: true

Lint/ErbNewArguments:
Enabled: true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
require "models/company"
require "models/project"
require "models/author"
require "models/post"
require "models/user"
require "models/room"

Expand Down

0 comments on commit 19759df

Please sign in to comment.