Last active
March 22, 2022 12:44
-
-
Save palkan/623c0816b05ed246bfe0cb406050990a to your computer and use it in GitHub Desktop.
rubocop-rspec config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require: | |
- rubocop-rspec | |
# Disable all cops by default, | |
# only enable those defined explcitly in this configuration file | |
RSpec: | |
Enabled: false | |
RSpec/Focus: | |
Enabled: true | |
RSpec/EmptyExampleGroup: | |
Enabled: true | |
RSpec/EmptyLineAfterExampleGroup: | |
Enabled: true | |
RSpec/EmptyLineAfterFinalLet: | |
Enabled: true | |
RSpec/EmptyLineAfterHook: | |
Enabled: true | |
RSpec/EmptyLineAfterSubject: | |
Enabled: true | |
RSpec/HookArgument: | |
Enabled: true | |
RSpec/HooksBeforeExamples: | |
Enabled: true | |
RSpec/ImplicitExpect: | |
Enabled: true | |
RSpec/IteratedExpectation: | |
Enabled: true | |
RSpec/LetBeforeExamples: | |
Enabled: true | |
RSpec/MissingExampleGroupArgument: | |
Enabled: true | |
RSpec/ReceiveCounts: | |
Enabled: true | |
RSpec/Capybara/CurrentPathExpectation: | |
Enabled: true | |
RSpec/FactoryBot/AttributeDefinedStatically: | |
Enabled: true | |
RSpec/FactoryBot/CreateList: | |
Enabled: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks! That's helpful.
We plan to upgrade the article soon to keep it up-to-date.