- Turned off
Lint/MissingSuper
, because it effectively bans a common idiom in Sorbet (#195) and might be a bit too heavy-handed/opinionated for cases where a class is designed intentionally to not run its parent's initializer (like abstract superclasses more generally)
- Enabled
Style/MultilineWhenThen
- Update Rubocop from
0.85.0
to
0.89.1,
enabling:
Lint/BinaryOperatorWithIdenticalOperands
Lint/DuplicateElsifCondition
Lint/DuplicateRescueException
Lint/FloatComparison
Lint/MissingSuper
Lint/OutOfRangeRegexpRef
Lint/RedundantRequireStatement
Lint/RedundantSplatExpansion
Lint/SafeNavigationWithEmpty
Lint/SelfAssignment
Lint/TopLevelReturnWithArgument
Style/GlobalStdStream
Style/RedundantAssignment
Style/RedundantFetchBlock
Style/RedundantFileExtensionInRequire
- Update rubocop-performance from 1.6.0 to 1.7.1, enabling:
Performance/BigDecimalWithNumericArgument
Performance/RedundantSortBlock
Performance/RedundantStringChars
Performance/ReverseFirst
Performance/SortReverse
Performance/Squeeze
-
Update Rubocop from 0.83.0 to 0.85.0, notably:
- Enable Lint/MixedRegexpCaptureTypes
- Enable Lint/DeprecatedOpenSSLConstant
- Enable Style/RedundantRegexpCharacterClass
- Enable Style/RedundantRegexpEscape
-
Update rubocop-performance to 1.6.0, enabling:
- Disable
Naming/BinaryOperatorParameterName
because (when non-ascii method names are used), it incorrectly identifies them as being+()
operator overrides (overly aggressive)
- Disable
Naming/AsciiIdentifiers
for the same reason as mentioned below in 0.4.4 (specifically to allow programs written in non-Latin languages to define identifiers)
- Disable
Naming/MethodName
cop. Whilesnake_case
is the conventional way to name a Ruby method, the cop is too restrictive in that it also prevents non-ASCII characters from being included in method names
- Improve output of the todo feature
- Track Rubocop
0.83.0
- Update our default to allow trailing whitespace in heredocs
- Disable auto-correct for a cop that changed
:true
totrue
, as that's not safe - Allow comments in empty
when
blocks
- add given/given! as
{}
friendly blocks #172
- Add
--todo
mode for incremental adoption of Standard to a project (PR by @mrbiggred)
- Update Standard to track Rubocop 0.82.0 (commit)