.rubocop.yml in simplecov-material-0.5.0 vs .rubocop.yml in simplecov-material-1.0.0

- old
+ new

@@ -1,10 +1,11 @@ --- require: - rubocop-performance AllCops: + NewCops: enable RubyInterpreters: - ruby - rake # Include common Ruby source files. Include: @@ -71,11 +72,11 @@ DisabledByDefault: false UseCache: true MaxFilesInCache: 20000 CacheRootDirectory: ~ AllowSymlinksInCacheRootDirectory: false - TargetRubyVersion: 2.6 + TargetRubyVersion: 2.7 Style/MixinUsage: Enabled: false Lint/AmbiguousOperator: Description: Checks for ambiguous operators in the first argument of a method invocation @@ -128,13 +129,10 @@ Description: Checks for empty string interpolation. Enabled: true Layout/EndAlignment: Description: Align ends correctly. Enabled: true -Lint/EndInMethod: - Description: END blocks should not be placed inside method definitions. - Enabled: true Lint/EnsureReturn: Description: Do not use return in an ensure block. StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-return-ensure Enabled: true Lint/FormatParameterMismatch: @@ -197,13 +195,10 @@ Enabled: true Lint/UselessAssignment: Description: Checks for useless assignment to a local variable. StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars Enabled: true -Lint/UselessComparison: - Description: Checks for comparison of something with itself. - Enabled: true Lint/UselessElseWithoutRescue: Description: Checks for useless `else` in `begin..end` without `rescue`. Enabled: true Lint/UselessSetterCall: Description: Checks for useless setter call to a local variable. @@ -352,13 +347,10 @@ Style/BlockDelimiters: Description: Avoid using {...} for multi-line blocks (multiline chaining is always ugly). Prefer {...} over do...end for single-line blocks. StyleGuide: https://github.com/bbatsov/ruby-style-guide#single-line-blocks Enabled: true -Style/BracesAroundHashParameters: - Description: Enforce braces style around hash parameters. - Enabled: false Style/CaseEquality: Description: Avoid explicit use of the case equality operator(===). StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-case-equality Enabled: false Layout/CaseIndentation: @@ -809,10 +801,10 @@ Description: Use plain symbols instead of string symbols when possible. Enabled: false Style/SymbolProc: Description: Use symbols as procs instead of blocks when possible. Enabled: false -Layout/Tab: +Layout/IndentationStyle: Description: No hard tabs. StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-indentation Enabled: false Layout/TrailingEmptyLines: Description: Checks trailing blank lines and final newline.