.rubocop.yml in sniffer-0.3.2 vs .rubocop.yml in sniffer-0.4.0
- old
+ new
@@ -1,19 +1,19 @@
AllCops:
+ TargetRubyVersion: 2.5
# Include gemspec and Rakefile
Include:
- - 'lib/**/*.rb'
- - 'lib/**/*.rake'
- - 'spec/**/*.rb'
+ - "lib/**/*.rb"
+ - "lib/**/*.rake"
+ - "spec/**/*.rb"
Exclude:
- - 'bin/**/*'
- - 'Gemfile'
- - 'Rakefile'
- - '*.gemspec'
+ - "bin/**/*"
+ - "Gemfile"
+ - "Rakefile"
+ - "*.gemspec"
DisplayCopNames: true
StyleGuideCopsOnly: false
- TargetRubyVersion: 2.2
Naming/AccessorMethodName:
Enabled: false
Style/PercentLiteralDelimiters:
@@ -22,18 +22,18 @@
Style/TrivialAccessors:
Enabled: false
Style/Documentation:
Exclude:
- - 'spec/**/*.rb'
+ - "spec/**/*.rb"
Style/StringLiterals:
Enabled: false
Style/BlockDelimiters:
Exclude:
- - 'spec/**/*.rb'
+ - "spec/**/*.rb"
Style/DoubleNegation:
Enabled: false
Layout/SpaceInsideStringInterpolation:
@@ -45,24 +45,18 @@
Lint/AmbiguousBlockAssociation:
Enabled: false
Metrics/MethodLength:
Exclude:
- - 'spec/**/*.rb'
+ - "spec/**/*.rb"
-Metrics/LineLength:
+Layout/LineLength:
Max: 120
Exclude:
- - 'spec/**/*.rb'
+ - "spec/**/*.rb"
Metrics/BlockLength:
Exclude:
- - 'spec/**/*.rb'
-
-Rails/Date:
- Enabled: false
-
-Rails/TimeZone:
- Enabled: false
+ - "spec/**/*.rb"
Security/YAMLLoad:
Enabled: false