Skip to content

Commit

Permalink
dev: Enable Rubocop default Layout and Style groups
Browse files Browse the repository at this point in the history
In #94, I chose to disable some Rubocop groups because they weren't
related to code correctness. But this library does already conform to
most of Rubocop's default Layout and Style rules, so we can re-enable
them to keep that consistent.
  • Loading branch information
jeremy-stytch committed Sep 15, 2023
1 parent ef272aa commit 9d838e5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,15 @@ AllCops:
# The target Ruby version must match the one in stytch.gemspec.
TargetRubyVersion: 2.7

Layout: { Enabled: false }
Layout/LineLength: { Enabled: false }

Metrics: { Enabled: false }
Style: { Enabled: false }

Style/Documentation: { Enabled: false }
Style/For: { Enabled: false }
Style/FrozenStringLiteralComment: { Enabled: false }
Style/NumericPredicate: { Enabled: false }
Style/StringConcatenation: { Enabled: false }

RSpec/DescribedClass: { Enabled: false }
RSpec/ExampleLength: { Enabled: false }
Expand Down

0 comments on commit 9d838e5

Please sign in to comment.