Enable a set of Lint/* cops
What does this MR do and why?
This MR enables a set of Lint/* cops.
Lint/AmbiguousAssignmentLint/AmbiguousOperatorPrecedenceLint/AmbiguousRangeLint/ConstantOverwrittenInRescueLint/DeprecatedConstants-
Lint/DuplicateBranch- With
IgnoreLiteralBranches: trueandIgnoreConstantBranches: true
- With
Lint/DuplicateMagicComment-
Lint/DuplicateRegexpCharacterClassElement- Accounts for Ruby warning
warning: character class has duplicated range - See gitlab-org/gitlab#196852
- Accounts for Ruby warning
Lint/EmptyBlockLint/EmptyClassLint/EmptyInPattern
Contributes to #40.
Testing on gitlab-org/gitlab
Edited by Peter Leitzen