aboutsummaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml16
1 files changed, 3 insertions, 13 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 03b1242..82e41e8 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -20,7 +20,7 @@ AllCops:
- "**/Guardfile"
Layout/LineLength:
Description: People have wide screens, use them.
- Enabled: false
+ Max: 260
RSpec/BeforeAfterAll:
Description: Beware of using after(:all) as it may cause state to leak between tests.
A necessary evil in acceptance testing.
@@ -73,6 +73,8 @@ Style/SymbolArray:
EnforcedStyle: brackets
RSpec/NamedSubject:
Enabled: false
+RSpec/SubjectStub:
+ Enabled: false
RSpec/MessageSpies:
EnforcedStyle: receive
Style/Documentation:
@@ -135,8 +137,6 @@ Layout/EmptyLineAfterGuardClause:
Enabled: false
Layout/EmptyLinesAroundArguments:
Enabled: false
-Layout/EmptyLinesAroundBlockBody:
- Enabled: false
Layout/EmptyLinesAroundAttributeAccessor:
Enabled: false
Layout/EndOfLine:
@@ -285,8 +285,6 @@ Performance/DeleteSuffix:
Enabled: false
Performance/InefficientHashSearch:
Enabled: false
-Performance/RegexpMatch:
- Enabled: false
Performance/UnfreezeString:
Enabled: false
Performance/UriDefaultParser:
@@ -317,8 +315,6 @@ RSpec/ExampleLength:
Enabled: false
RSpec/ExampleWithoutDescription:
Enabled: false
-RSpec/ExampleWording:
- Enabled: false
RSpec/ExpectChange:
Enabled: false
RSpec/ExpectInHook:
@@ -367,8 +363,6 @@ RSpec/SharedExamples:
Enabled: false
RSpec/StubbedMock:
Enabled: false
-RSpec/SubjectStub:
- Enabled: false
RSpec/UnspecifiedException:
Enabled: false
RSpec/VariableDefinition:
@@ -463,16 +457,12 @@ Style/RedundantRegexpCharacterClass:
Enabled: false
Style/RedundantRegexpEscape:
Enabled: false
-Style/RedundantReturn:
- Enabled: false
Style/RedundantSelfAssignment:
Enabled: false
Style/RedundantSort:
Enabled: false
Style/RescueStandardError:
Enabled: false
-Style/SafeNavigation:
- Enabled: false
Style/SingleArgumentDig:
Enabled: false
Style/SlicingWithRange: