config/default.yml in rubocop-on-rbs-0.3.0 vs config/default.yml in rubocop-on-rbs-0.4.0

- old
+ new

@@ -57,10 +57,14 @@ RBS/Layout/SpaceAroundBraces: Description: 'Use space around `{}`' Enabled: true +RBS/Layout/SpaceAroundOperators: + Description: 'Use space around `|` or `&`' + Enabled: true + RBS/Layout/SpaceBeforeColon: Description: 'Use space before `:`' Enabled: true RBS/Layout/SpaceBeforeOverload: @@ -79,67 +83,25 @@ RBS/Lint/DuplicateOverload: Severity: warning Description: 'Checks that there are no repeated overload bodies' Enabled: true -RBS/Lint/RedundantOverloadTypeParams: +RBS/Lint/LiteralIntersection: Severity: warning + Description: 'Check literal intersection' + Enabled: true + +RBS/Lint/UselessOverloadTypeParams: + Severity: warning Description: 'Check redundant overload type params' Enabled: true RBS/Lint/Syntax: Severity: fatal Description: 'Check RBS syntax' Enabled: true -RBS/Lint/TypeParamsArity: - Severity: warning - Description: 'Check type params arity' - Enabled: true - Expects: - # Default expects. - # You can add expects in .rubocop.yml. - - ## class/module - Array: 1 - Enumerable: 1 - Enumerator: 2 - Enumerator::Chain: 1 - Enumerator::Generator: 1 - Enumerator::Lazy: 2 - Enumerator::Product: 1 - FrozenError: 1 - Hash: 2 - KeyError: 2 - NameError: 1 - NoMatchingPatternKeyError: 2 - NoMethodError: 1 - ObjectSpace::WeakKeyMap: 2 - Range: 1 - Set: 1 - Struct: 1 - - ## interface - Array::_Pattern: 1 - Enumerable::_NotFound: 1 - Gem::_HashLike: 2 - Kernel::_RationalDiv: 1 - Marshal::_Proc: 1 - String::_MatchAgainst: 2 - _Each: 1 - _EachEntry: 1 - _Range: 1 - _ToA: 1 - _ToAry: 1 - _ToH: 2 - _ToHash: 2 - - ## type alias - array: 1 - hash: 2 - range: 1 - RBS/Lint/WillSyntaxError: Severity: warning Description: 'Check RBS will syntax error' Enabled: true @@ -158,19 +120,23 @@ RBS/Style/DuplicatedType: Description: 'Check duplicated type' Enabled: true +RBS/Style/EmptyArgument: + Description: 'Use `()` for empty argument' + Enabled: true + RBS/Style/InitializeReturnType: Description: 'Use `void` for initialize method' Enabled: true -RBS/Style/MergeUntyped: - Description: 'Merge to `untyped`' - Enabled: true - RBS/Style/OptionalNil: Description: 'Use nil instead of nil?' + Enabled: true + +RBS/Style/RedundantParentheses: + Description: 'Remove redundant parentheses' Enabled: true RBS/Style/TrueFalse: Description: 'Use bool instead of true | false' Enabled: true