default.yml in rubocop-template-1.1.0 vs default.yml in rubocop-template-1.1.1

- old
+ new

@@ -4,54 +4,70 @@ - 'db/schema.rb' - 'node_modules/**/*' - 'server/**/*' - 'vendor/**/*' TargetRubyVersion: 2.4 + Layout/DefEndAlignment: AutoCorrect: true + Layout/EndAlignment: AutoCorrect: true EnforcedStyleAlignWith: keyword + Layout/IndentationConsistency: EnforcedStyle: normal + +Layout/LineLength: + Enabled: false + Max: 100 + Lint/AssignmentInCondition: Enabled: false + Lint/Debugger: Enabled: true -Metrics/LineLength: - Enabled: false - Max: 100 + Naming/FileName: Description: Use snake_case for source file names. StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-files Enabled: false + Rails: Enabled: true + Style/Alias: EnforcedStyle: prefer_alias_method + Style/AsciiComments: Enabled: false + Style/AutoResourceCleanup: Enabled: true + Style/ClassAndModuleChildren: Enabled: false + Style/CollectionMethods: Description: Preferred collection methods. StyleGuide: https://github.com/bbatsov/ruby-style-guide#map-find-select-reduce-size Enabled: true PreferredMethods: collect: map collect!: map! find: detect find_all: select reduce: inject + Style/Documentation: Enabled: false + Style/PercentLiteralDelimiters: PreferredDelimiters: '%i': '()' '%I': '()' '%r': '{}' '%w': '()' '%W': '()' + Style/StringLiterals: EnforcedStyle: single_quotes