Skip to content

Commit

Permalink
enable newcops and remove cops not explicitly installed
Browse files Browse the repository at this point in the history
  • Loading branch information
h0tw1r3 committed Aug 4, 2024
1 parent 6e44e46 commit 18d708c
Showing 1 changed file with 1 addition and 39 deletions.
40 changes: 1 addition & 39 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,14 @@ require:

AllCops:
TargetRubyVersion: 2.3
NewCops: enable
Exclude:
- "**/*.erb"
- spec/**/*
- vendor/**/*
- examples/**/*
- lib/vanagon/platform/defaults/*

Capybara/MatchStyle:
Enabled: true

Capybara/NegationMatcher:
Enabled: true

Capybara/SpecificActions:
Enabled: true

Capybara/SpecificFinders:
Enabled: true

Capybara/SpecificMatcher:
Enabled: true

Gemspec/DeprecatedAttributeAssignment:
Enabled: true

Expand Down Expand Up @@ -395,15 +381,6 @@ RSpec/DuplicatedMetadata:
RSpec/ExcessiveDocstringSpacing:
Enabled: true

RSpec/FactoryBot/ConsistentParenthesesStyle:
Enabled: true

RSpec/FactoryBot/FactoryNameStyle:
Enabled: true

RSpec/FactoryBot/SyntaxMethods:
Enabled: true

RSpec/IdenticalEqualityAssertion:
Enabled: true

Expand All @@ -416,21 +393,6 @@ RSpec/NoExpectationExample:
RSpec/PendingWithoutReason:
Enabled: true

RSpec/Rails/AvoidSetupHook:
Enabled: true

RSpec/Rails/HaveHttpStatus:
Enabled: true

RSpec/Rails/InferredSpecType:
Enabled: true

RSpec/Rails/MinitestAssertions:
Enabled: true

RSpec/Rails/TravelAround:
Enabled: true

RSpec/RedundantAround:
Enabled: true

Expand Down

0 comments on commit 18d708c

Please sign in to comment.