.rubocop.yml in grumlin-0.4.0 vs .rubocop.yml in grumlin-0.5.0
- old
+ new
@@ -5,34 +5,75 @@
require:
- rubocop-performance
- rubocop-rspec
-Style/StringLiterals:
- Enabled: true
- EnforcedStyle: double_quotes
-
-Style/StringLiteralsInInterpolation:
- Enabled: true
- EnforcedStyle: double_quotes
-
-Style/Documentation:
- Enabled: false
-
Layout/LineLength:
Max: 120
+ Exclude:
+ - spec/**/*_spec.rb
Metrics/BlockLength:
Exclude:
- spec/**/*_spec.rb
+Metrics/MethodLength:
+ Max: 20
+
+Metrics/ParameterLists:
+ Max: 6
+
+Naming/MethodName:
+ IgnoredPatterns:
+ - toList
+ - inVLabel
+ - outVLabel
+ - inV
+ - outV
+
+Naming/VariableName:
+ AllowedIdentifiers:
+ - inV
+ - outV
+ - inVLabel
+ - outVLabel
+
+Naming/MethodParameterName:
+ AllowedNames:
+ - id
+ - inV
+ - outV
+ - inVLabel
+ - outVLabel
+
RSpec/NamedSubject:
Enabled: false
RSpec/NestedGroups:
Enabled: false
RSpec/ExampleLength:
Enabled: false
+RSpec/MultipleExpectations:
+ Enabled: false
+
+RSpec/DescribeClass:
+ Enabled: false
+
+Style/WordArray:
+ Exclude:
+ - spec/**/*_spec.rb
+
+Style/StringLiterals:
+ Enabled: true
+ EnforcedStyle: double_quotes
+
+Style/StringLiteralsInInterpolation:
+ Enabled: true
+ EnforcedStyle: double_quotes
+
+Style/Documentation:
+ Enabled: false
+
Style/MultilineBlockChain:
- Enabled: false
\ No newline at end of file
+ Enabled: false