.rubocop.yml in localer-0.1.1 vs .rubocop.yml in localer-0.2.0

- old
+ new

@@ -1,20 +1,19 @@ AllCops: # Include gemspec and Rakefile Include: - - 'lib/**/*.rb' - - 'lib/**/*.rake' - - 'spec/**/*.rb' + - "lib/**/*.rb" + - "lib/**/*.rake" + - "spec/**/*.rb" Exclude: - - 'bin/**/*' - - 'lib/localer/ext/*.rb' - - 'Appraisals' - - 'Gemfile' - - 'Rakefile' - - '*.gemspec' - - 'gemfiles/vendor/**/*' - - 'vendor/**/*' + - "bin/**/*" + - "lib/localer/ext/*.rb" + - "Appraisals" + - "Gemfile" + - "Rakefile" + - "*.gemspec" + - "spec/dummy_app/" DisplayCopNames: true StyleGuideCopsOnly: false TargetRubyVersion: 2.4 Naming/AccessorMethodName: @@ -26,22 +25,31 @@ 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 +Style/HashEachMethods: + Enabled: true + +Style/HashTransformKeys: + Enabled: true + +Style/HashTransformValues: + Enabled: true + Layout/SpaceInsideStringInterpolation: EnforcedStyle: no_space Lint/AmbiguousRegexpLiteral: Enabled: false @@ -49,24 +57,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