Last active
January 4, 2024 14:31
-
-
Save miharekar/2ef2b0ae9e4274307ab2dbe67516122e to your computer and use it in GitHub Desktop.
My RuboCop standard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inherit_gem: | |
rubocop-rails-omakase: rubocop.yml | |
require: | |
- rubocop-performance | |
- rubocop-rails | |
AllCops: | |
NewCops: enable | |
TargetRubyVersion: 3.3 | |
Exclude: | |
- db/schema.rb | |
- bin/* | |
Bundler/OrderedGems: | |
Enabled: true | |
Layout/ClassStructure: | |
Enabled: true | |
Layout/EmptyLineAfterGuardClause: | |
Enabled: true | |
Layout/SpaceInsideArrayLiteralBrackets: | |
EnforcedStyle: no_space | |
Layout/SpaceInsideHashLiteralBraces: | |
EnforcedStyle: no_space | |
Performance/AncestorsInclude: | |
Enabled: true | |
Performance/ArraySemiInfiniteRangeSlice: | |
Enabled: true | |
Performance/CaseWhenSplat: | |
Enabled: true | |
Performance/Casecmp: | |
Enabled: true | |
Performance/CollectionLiteralInLoop: | |
Enabled: true | |
Performance/DeletePrefix: | |
Enabled: true | |
Performance/DeleteSuffix: | |
Enabled: true | |
Performance/IoReadlines: | |
Enabled: true | |
Performance/MapCompact: | |
Enabled: true | |
Performance/MethodObjectAsBlock: | |
Enabled: true | |
Performance/OpenStruct: | |
Enabled: true | |
Performance/RedundantBlockCall: | |
Enabled: true | |
Performance/RedundantEqualityComparisonBlock: | |
Enabled: true | |
Performance/SelectMap: | |
Enabled: true | |
Performance/StringInclude: | |
Enabled: true | |
Performance/Sum: | |
Enabled: true | |
Performance/TimesMap: | |
Enabled: true | |
Rails/SaveBang: | |
Enabled: false | |
Style/FrozenStringLiteralComment: | |
Enabled: true | |
Style/IfUnlessModifier: | |
Enabled: true | |
Style/Send: | |
Enabled: true | |
Style/SymbolArray: | |
Enabled: true | |
Style/WordArray: | |
Enabled: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment