.rubocop.yml in rspec_in_context-1.1.0.2 vs .rubocop.yml in rspec_in_context-1.1.0.3
- old
+ new
@@ -1,18 +1,23 @@
inherit_from:
- http://relaxed.ruby.style/rubocop.yml
+inherit_gem:
+ prettier: rubocop.yml
+
require:
- rubocop-performance
AllCops:
NewCops: enable
DisplayStyleGuide: true
DisplayCopNames: true
+ SuggestExtensions: false
Exclude:
- 'bin/*'
- 'vendor/**/*'
+ - 'node_modules/**/*'
Metrics/BlockLength:
Exclude:
- 'spec/**/*.rb'
- 'Guardfile'
@@ -24,48 +29,15 @@
Style/GlobalVars:
Exclude:
- spec/rspec_in_context/in_context_spec.rb
-Naming/MethodParameterName:
+### Prettier
+Style/OptionalBooleanParameter:
Enabled: false
-Layout/DotPosition:
- Enabled: true
- EnforcedStyle: trailing
+Style/GuardClause:
+ Enabled: false
-Style/TrailingCommaInArrayLiteral:
- Enabled: true
- EnforcedStyleForMultiline: comma
-
-Style/TrailingCommaInHashLiteral:
- Enabled: true
- EnforcedStyleForMultiline: comma
-
-Layout/MultilineArrayLineBreaks:
- Enabled: true
-
-Layout/MultilineHashKeyLineBreaks:
- Enabled: true
-
-Layout/MultilineMethodArgumentLineBreaks:
- Enabled: true
-
-Layout/FirstArrayElementLineBreak:
- Enabled: true
-
-Layout/FirstHashElementLineBreak:
- Enabled: true
-
-Layout/FirstMethodArgumentLineBreak:
- Enabled: true
-
-Layout/MultilineAssignmentLayout:
- Enabled: true
-
-Layout/LineLength:
- Enabled: true
- Max: 120
- AutoCorrect: true
- Exclude:
- - Gemfile
- - Guardfile
+### End Prettier
+Naming/MethodParameterName:
+ Enabled: false