templates/rubocop.yml in kratos-1.0.2 vs templates/rubocop.yml in kratos-1.0.3

- old
+ new

@@ -1,40 +1,25 @@ AllCops: + TargetRubyVersion: 2.3 + Include: + - Rakefile + - config.ru Exclude: - - "Gemfile" - - "db/**/*" - - "vendor/**/*" - - "tmp/**/*" - - "config/**/*" - - "bin/**/*" - - "log/**/*" - - "Guardfile" - - "spec/factories/*" - RunRailsCops: true + - db/schema.rb -Metrics/MethodLength: - Enabled: false +Rails: + Enabled: true -Metrics/ClassLength: +MethodLength: + Max: 20 + +LineLength: + Max: 120 + +HasAndBelongsToMany: Enabled: false -Metrics/AbcSize: +Documentation: Enabled: false -Metrics/CyclomaticComplexity: - Max: 10 - -Metrics/PerceivedComplexity: - Max: 10 - -Style/PredicateName: - Description: Check the names of predicate methods. - StyleGuide: https://github.com/bbatsov/ruby-style-guide#bool-methods-qmark - Enabled: true - NamePrefix: - - is_ - - has_ - - have_ - NamePrefixBlacklist: - - is_ - Exclude: - - spec/**/* +StringLiterals: + Enabled: false