Skip to content

Commit

Permalink
Add RuboCop configuration with preferred defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
markuspg committed Apr 3, 2021
1 parent 47b5876 commit d26b156
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .rubocop.yml
@@ -0,0 +1,37 @@
---
inherit_from: .rubocop_todo.yml


Metrics/AbcSize:
Max: 20
Metrics/BlockLength:
Max: 120
Layout/LineLength:
Max: 200
Metrics/MethodLength:
Max: 25
Style/AsciiComments:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/GlobalVars:
Enabled: false
Style/HashSyntax:
EnforcedStyle: hash_rockets
Style/NumericLiterals:
Enabled: false
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/RedundantReturn:
Enabled: false
Style/StringLiteralsInInterpolation:
Enabled: false
Style/SymbolArray:
Enabled: false
Style/ConditionalAssignment:
EnforcedStyle: assign_inside_condition
AllCops:
Exclude:
- "out/**/*"

0 comments on commit d26b156

Please sign in to comment.