aboutsummaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml16
1 files changed, 13 insertions, 3 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index d3ec06c..03b1242 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -20,7 +20,7 @@ AllCops:
- "**/Guardfile"
Layout/LineLength:
Description: People have wide screens, use them.
- Max: 200
+ Enabled: false
RSpec/BeforeAfterAll:
Description: Beware of using after(:all) as it may cause state to leak between tests.
A necessary evil in acceptance testing.
@@ -71,8 +71,6 @@ Style/TrailingCommaInArrayLiteral:
Style/SymbolArray:
Description: Using percent style obscures symbolic intent of array's contents.
EnforcedStyle: brackets
-Metrics/LineLength:
- Max: 260
RSpec/NamedSubject:
Enabled: false
RSpec/MessageSpies:
@@ -137,6 +135,8 @@ Layout/EmptyLineAfterGuardClause:
Enabled: false
Layout/EmptyLinesAroundArguments:
Enabled: false
+Layout/EmptyLinesAroundBlockBody:
+ Enabled: false
Layout/EmptyLinesAroundAttributeAccessor:
Enabled: false
Layout/EndOfLine:
@@ -285,6 +285,8 @@ Performance/DeleteSuffix:
Enabled: false
Performance/InefficientHashSearch:
Enabled: false
+Performance/RegexpMatch:
+ Enabled: false
Performance/UnfreezeString:
Enabled: false
Performance/UriDefaultParser:
@@ -315,6 +317,8 @@ RSpec/ExampleLength:
Enabled: false
RSpec/ExampleWithoutDescription:
Enabled: false
+RSpec/ExampleWording:
+ Enabled: false
RSpec/ExpectChange:
Enabled: false
RSpec/ExpectInHook:
@@ -363,6 +367,8 @@ RSpec/SharedExamples:
Enabled: false
RSpec/StubbedMock:
Enabled: false
+RSpec/SubjectStub:
+ Enabled: false
RSpec/UnspecifiedException:
Enabled: false
RSpec/VariableDefinition:
@@ -457,12 +463,16 @@ 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: