Skip to content

Commit

Permalink
Adds in new cops
Browse files Browse the repository at this point in the history
  • Loading branch information
camilopayan committed Dec 2, 2021
1 parent cf082a4 commit 6644b3e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
13 changes: 13 additions & 0 deletions config/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ Gemspec/RequiredRubyVersion:
Gemspec/RubyVersionGlobalsUsage:
Enabled: false

Gemspec/RequireMFA:
Enabled: false

Layout/AccessModifierIndentation:
Enabled: true
EnforcedStyle: indent
Expand Down Expand Up @@ -803,6 +806,9 @@ Lint/IncompatibleIoSelectWithFiberScheduler:
Lint/RequireRelativeSelfPath:
Enabled: true

Lint/UselessRuby2Keywords:
Enabled: true

Metrics/AbcSize:
Enabled: false

Expand Down Expand Up @@ -1036,6 +1042,9 @@ Performance/UnfreezeString:
Performance/UriDefaultParser:
Enabled: true

Performance/ConcurrentMonotonicTime:
Enabled: true

Security/Eval:
Enabled: true

Expand Down Expand Up @@ -1811,3 +1820,7 @@ Style/NumberedParametersLimit:

Style/SelectByRegexp:
Enabled: false

Style/OpenStructUse:
Enabled: false

3 changes: 3 additions & 0 deletions config/ruby-2.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ inherit_from: ./ruby-2.3.yml
Layout:
HeredocIndentation:
Enabled: false

Performance/ConcurrentMonotonicTime:
Enabled: false

0 comments on commit 6644b3e

Please sign in to comment.