.rubocop.yml in anyway_config-0.5.1.rc1 vs .rubocop.yml in anyway_config-0.5.1
- old
+ new
@@ -1,21 +1,17 @@
AllCops:
+ # Include gemspec and Rakefile
Include:
- 'lib/**/*.rb'
- 'lib/**/*.rake'
- 'spec/**/*.rb'
- - 'Gemfile'
- - 'Rakefile'
Exclude:
- 'bin/**/*'
- 'spec/dummy/**/*'
- - 'tmp/**/*'
- - 'gemfiles/vendor/**/*'
- - 'vendor/**/*'
+ RunRailsCops: true
DisplayCopNames: true
StyleGuideCopsOnly: false
- TargetRubyVersion: 2.3
Style/Documentation:
Exclude:
- 'spec/**/*.rb'
@@ -28,11 +24,13 @@
Metrics/MethodLength:
Exclude:
- 'spec/**/*.rb'
-Metrics/BlockLength:
- Exclude:
- - 'spec/**/*.rb'
-
Metrics/LineLength:
Max: 100
+
+Rails/Date:
+ Enabled: false
+
+Rails/TimeZone:
+ Enabled: false
\ No newline at end of file