Skip to content

Commit

Permalink
fixup! Fix generated styleguide links
Browse files Browse the repository at this point in the history
  • Loading branch information
pirj committed Jan 12, 2022
1 parent 7b4fcfe commit bf4ebd5
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 46 deletions.
46 changes: 23 additions & 23 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ RSpec/AnyInstance:
Description: Check that instances are not being stubbed globally.
Enabled: true
VersionAdded: '1.4'
StyleGuide: "#any_instance_of"
StyleGuide: "https://rspec.rubystyle.guide/#any_instance_of"
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/AnyInstance

RSpec/AroundBlock:
Expand All @@ -139,7 +139,7 @@ RSpec/Be:
Description: Check for expectations where `be` is used without argument.
Enabled: true
VersionAdded: '1.25'
StyleGuide: "#be-matcher"
StyleGuide: "https://rspec.rubystyle.guide/#be-matcher"
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Be

RSpec/BeEql:
Expand All @@ -156,14 +156,14 @@ RSpec/BeforeAfterAll:
- spec/rails_helper.rb
- spec/support/**/*.rb
VersionAdded: '1.12'
StyleGuide: "#avoid-hooks-with-context-scope"
StyleGuide: "https://rspec.rubystyle.guide/#avoid-hooks-with-context-scope"
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/BeforeAfterAll

RSpec/ContextMethod:
Description: "`context` should not be used for specifying methods."
Enabled: true
VersionAdded: '1.36'
StyleGuide: "#example-group-naming"
StyleGuide: "https://rspec.rubystyle.guide/#example-group-naming"
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ContextMethod

RSpec/ContextWording:
Expand All @@ -175,7 +175,7 @@ RSpec/ContextWording:
- without
VersionAdded: '1.20'
VersionChanged: 1.20.1
StyleGuide: "#context-descriptions"
StyleGuide: "https://rspec.rubystyle.guide/#context-descriptions"
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ContextWording

RSpec/DescribeClass:
Expand Down Expand Up @@ -263,35 +263,35 @@ RSpec/EmptyLineAfterExample:
Enabled: true
AllowConsecutiveOneLiners: true
VersionAdded: '1.36'
StyleGuide: "#empty-lines-around-examples"
StyleGuide: "https://rspec.rubystyle.guide/#empty-lines-around-examples"
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyLineAfterExample

RSpec/EmptyLineAfterExampleGroup:
Description: Checks if there is an empty line after example group blocks.
Enabled: true
VersionAdded: '1.27'
StyleGuide: "#empty-lines-between-describes"
StyleGuide: "https://rspec.rubystyle.guide/#empty-lines-between-describes"
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyLineAfterExampleGroup

RSpec/EmptyLineAfterFinalLet:
Description: Checks if there is an empty line after the last let block.
Enabled: true
VersionAdded: '1.14'
StyleGuide: "#empty-line-after-let"
StyleGuide: "https://rspec.rubystyle.guide/#empty-line-after-let"
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyLineAfterFinalLet

RSpec/EmptyLineAfterHook:
Description: Checks if there is an empty line after hook blocks.
Enabled: true
VersionAdded: '1.27'
StyleGuide: "#empty-line-after-let"
StyleGuide: "https://rspec.rubystyle.guide/#empty-line-after-let"
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyLineAfterHook

RSpec/EmptyLineAfterSubject:
Description: Checks if there is an empty line after subject block.
Enabled: true
VersionAdded: '1.14'
StyleGuide: "#empty-line-after-let"
StyleGuide: "https://rspec.rubystyle.guide/#empty-line-after-let"
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyLineAfterSubject

RSpec/ExampleLength:
Expand Down Expand Up @@ -331,7 +331,7 @@ RSpec/ExampleWording:
IgnoredWords: []
VersionAdded: '1.0'
VersionChanged: '1.2'
StyleGuide: "#should-in-example-docstrings"
StyleGuide: "https://rspec.rubystyle.guide/#should-in-example-docstrings"
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ExampleWording

RSpec/ExpectActual:
Expand Down Expand Up @@ -397,7 +397,7 @@ RSpec/HookArgument:
- each
- example
VersionAdded: '1.7'
StyleGuide: "#redundant-beforeeach"
StyleGuide: "https://rspec.rubystyle.guide/#redundant-beforeeach"
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/HookArgument

RSpec/HooksBeforeExamples:
Expand All @@ -416,7 +416,7 @@ RSpec/ImplicitBlockExpectation:
Description: Check that implicit block expectation syntax is not used.
Enabled: true
VersionAdded: '1.35'
StyleGuide: "#implicit-block-expectations"
StyleGuide: "https://rspec.rubystyle.guide/#implicit-block-expectations"
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ImplicitBlockExpectation

RSpec/ImplicitExpect:
Expand All @@ -427,7 +427,7 @@ RSpec/ImplicitExpect:
- is_expected
- should
VersionAdded: '1.8'
StyleGuide: "#use-expect"
StyleGuide: "https://rspec.rubystyle.guide/#use-expect"
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ImplicitExpect

RSpec/ImplicitSubject:
Expand All @@ -454,7 +454,7 @@ RSpec/InstanceVariable:
AssignmentOnly: false
VersionAdded: '1.0'
VersionChanged: '1.7'
StyleGuide: "#instance-variables"
StyleGuide: "https://rspec.rubystyle.guide/#instance-variables"
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceVariable

RSpec/ItBehavesLike:
Expand All @@ -478,14 +478,14 @@ RSpec/LeadingSubject:
Enabled: true
VersionAdded: '1.7'
VersionChanged: '1.14'
StyleGuide: "#leading-subject"
StyleGuide: "https://rspec.rubystyle.guide/#leading-subject"
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/LeadingSubject

RSpec/LeakyConstantDeclaration:
Description: Checks that no class, module, or constant is declared.
Enabled: true
VersionAdded: '1.35'
StyleGuide: "#declare-constants"
StyleGuide: "https://rspec.rubystyle.guide/#declare-constants"
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/LeakyConstantDeclaration

RSpec/LetBeforeExamples:
Expand Down Expand Up @@ -546,7 +546,7 @@ RSpec/MultipleExpectations:
Max: 1
VersionAdded: '1.7'
VersionChanged: '1.21'
StyleGuide: "#expectation-per-example"
StyleGuide: "https://rspec.rubystyle.guide/#expectation-per-example"
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/MultipleExpectations

RSpec/MultipleMemoizedHelpers:
Expand All @@ -555,7 +555,7 @@ RSpec/MultipleMemoizedHelpers:
AllowSubject: true
Max: 5
VersionAdded: '1.43'
StyleGuide: "#let-blocks"
StyleGuide: "https://rspec.rubystyle.guide/#let-blocks"
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/MultipleMemoizedHelpers

RSpec/MultipleSubjects:
Expand All @@ -569,7 +569,7 @@ RSpec/NamedSubject:
Enabled: true
IgnoreSharedExamples: true
VersionAdded: 1.5.3
StyleGuide: "#use-subject"
StyleGuide: "https://rspec.rubystyle.guide/#use-subject"
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/NamedSubject

RSpec/NestedGroups:
Expand Down Expand Up @@ -613,7 +613,7 @@ RSpec/PredicateMatcher:
- explicit
SafeAutoCorrect: false
VersionAdded: '1.16'
StyleGuide: "#predicate-matchers"
StyleGuide: "https://rspec.rubystyle.guide/#predicate-matchers"
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/PredicateMatcher

RSpec/ReceiveCounts:
Expand Down Expand Up @@ -717,7 +717,7 @@ RSpec/SubjectStub:
Description: Checks for stubbed test subjects.
Enabled: true
VersionAdded: '1.7'
StyleGuide: "#dont-stub-subject"
StyleGuide: "https://rspec.rubystyle.guide/#dont-stub-subject"
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/SubjectStub

RSpec/UnspecifiedException:
Expand Down Expand Up @@ -755,7 +755,7 @@ RSpec/VerifiedDoubles:
IgnoreSymbolicNames: false
VersionAdded: 1.2.1
VersionChanged: '1.5'
StyleGuide: "#doubles"
StyleGuide: "https://rspec.rubystyle.guide/#doubles"
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/VerifiedDoubles

RSpec/VoidExpect:
Expand Down
Loading

0 comments on commit bf4ebd5

Please sign in to comment.