Skip to content

Instantly share code, notes, and snippets.

@foxweb
Created March 12, 2019 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save foxweb/c2594cfb1bbeff942af03f7233cfe797 to your computer and use it in GitHub Desktop.
Save foxweb/c2594cfb1bbeff942af03f7233cfe797 to your computer and use it in GitHub Desktop.
Style/FrozenStringLiteralComment:
EnforcedStyle: never
Layout/AccessModifierIndentation:
EnforcedStyle: outdent
Layout/EmptyLinesAroundAccessModifier:
Enabled: false
Layout/ExtraSpacing:
Exclude:
- db/schema.rb
Layout/AlignHash:
EnforcedHashRocketStyle: table
EnforcedColonStyle: table
Layout/EndAlignment:
EnforcedStyleAlignWith: variable
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented_relative_to_receiver
Style/Documentation:
Enabled: false
Metrics/LineLength:
Max: 80
Metrics/BlockLength:
ExcludedMethods:
- DbSchema.describe
- db.table
- db.migrate
- Sequel.connect
Metrics/MethodLength:
Max: 15
Metrics/AbcSize:
Max: 18
Style/TrailingUnderscoreVariable:
Enabled: false
Style/GuardClause:
MinBodyLength: 2
Style/MultilineBlockChain:
Enabled: false
Style/Alias:
EnforcedStyle: prefer_alias_method
Lint/AssignmentInCondition:
Enabled: false
Bundler/OrderedGems:
Enabled: false
Performance/InefficientHashSearch:
Exclude:
- db/schema.rb
Lint/ShadowingOuterLocalVariable:
Exclude:
- db/schema.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment