.rubocop.yml in jsonapi-authorization-0.8.1 vs .rubocop.yml in jsonapi-authorization-0.8.2

- old
+ new

@@ -1,12 +1,29 @@ +AllCops: + Exclude: + - 'bin/*' + - 'spec/dummy/db/schema.rb' + - 'vendor/bundle/**/*' + - 'tmp/**/*' + +Style/FileName: + Exclude: + - lib/jsonapi-authorization.rb + Metrics/LineLength: Enabled: true Max: 100 + Exclude: + - spec/requests/**/*.rb + - jsonapi-authorization.gemspec Style/MultilineOperationIndentation: EnforcedStyle: indented +Style/MultilineMethodCallIndentation: + EnforcedStyle: indented + Metrics/ClassLength: Enabled: false Style/Documentation: Enabled: false @@ -35,12 +52,15 @@ Style/SpaceInsideHashLiteralBraces: Enabled: false EnforcedStyle: space Style/IndentHash: - Enabled: false + EnforcedStyle: consistent +Style/IndentArray: + EnforcedStyle: consistent + Style/ClassAndModuleChildren: Enabled: false Style/PercentLiteralDelimiters: Enabled: false @@ -84,5 +104,8 @@ - acc - obj - inject: - acc - obj + +Style/Alias: + EnforcedStyle: prefer_alias_method