.rubocop.yml in webtrap-0.1.0 vs .rubocop.yml in webtrap-0.1.1
- old
+ new
@@ -8,48 +8,64 @@
- "script/**/*"
- "bin/**/*"
- "vendor/**/*"
- "node_modules/**/*"
- "spec/factories.rb"
- TargetRubyVersion: 2.3
+ TargetRubyVersion: 2.2
+Layout/AlignParameters:
+ EnforcedStyle: with_fixed_indentation
+
+Layout/DotPosition:
+ EnforcedStyle: trailing
+
+Layout/ExtraSpacing:
+ Exclude:
+ - "webtrap.gemspec"
+
+Layout/MultilineOperationIndentation:
+ EnforcedStyle: indented
+
+Layout/MultilineMethodCallIndentation:
+ EnforcedStyle: indented
+
+Layout/SpaceAroundOperators:
+ Exclude:
+ - "webtrap.gemspec"
+
+Metrics/BlockLength:
+ Exclude:
+ - "webtrap.gemspec"
+
Metrics/LineLength:
Enabled: false
-Style/AlignParameters:
- EnforcedStyle: with_fixed_indentation
+Naming/FileName:
+ Exclude:
+ - "Gemfile"
+Naming/PredicateName:
+ NamePrefixBlacklist:
+ - is_
+ - have_
+
Style/ClassAndModuleChildren:
Enabled: false
Style/Documentation:
Enabled: false
-Style/DotPosition:
- EnforcedStyle: trailing
-
Style/IfUnlessModifier:
Enabled: false
-Style/PredicateName:
- NamePrefixBlacklist:
- - is_
- - have_
-
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/NumericLiterals:
Enabled: false
Style/SingleLineBlockParams:
Enabled: false
-
-Style/MultilineOperationIndentation:
- EnforcedStyle: indented
-
-Style/MultilineMethodCallIndentation:
- EnforcedStyle: indented
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInLiteral: