Skip to content

Commit

Permalink
Add style config
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmurach committed Feb 16, 2020
1 parent 7d8ebf7 commit 254c8ae
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .rubocop.yml
@@ -0,0 +1,48 @@
Lint/AssignmentInCondition:
Enabled: false

Metrics/AbcSize:
Max: 30

Metrics/BlockLength:
CountComments: true
Max: 25
ExcludedMethods: []
Exclude:
- "spec/**/*"

Metrics/ClassLength:
Max: 1500

Metrics/CyclomaticComplexity:
Enabled: false

Metrics/LineLength:
Max: 80

Metrics/MethodLength:
Max: 20

Naming/BinaryOperatorParameterName:
Enabled: false

Style/AsciiComments:
Enabled: false

Style/LambdaCall:
SupportedStyles:
- call
- braces

Style/StringLiterals:
EnforcedStyle: double_quotes

Style/TrivialAccessors:
Enabled: false

# { ... } for multi-line blocks is okay
Style/BlockDelimiters:
Enabled: false

Style/CommentedKeyword:
Enabled: false

0 comments on commit 254c8ae

Please sign in to comment.