Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…er-sinatra into kramdown_from_alax
  • Loading branch information
alaxalves committed Jun 24, 2020
2 parents 0654d8a + 4184498 commit 85cd4b7
Show file tree
Hide file tree
Showing 9 changed files with 1,364 additions and 247 deletions.
98 changes: 98 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
require: rubocop-performance

# Start with Spotifys style guide as a base then customize from there
inherit_from:
- .rubocop_shopify_styleguide.yml

# Apply rule to all cops
AllCops:
Include:
- '*/**/*.rb'
Exclude:
- 'spec/*'
- 'views/*'
TargetRubyVersion: '2.4'

# Offense count: 180
Metrics/AbcSize:
Max: 178

# Offense count: 13
# Configuration parameters: CountComments, ExcludedMethods.
# ExcludedMethods: refine
Metrics/BlockLength:
Max: 257

# Offense count: 24
# Configuration parameters: CountBlocks.
Metrics/BlockNesting:
Max: 6

# Offense count: 50
Metrics/CyclomaticComplexity:
Max: 28

# Offense count: 171
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/MethodLength:
Max: 86

# Offense count: 2
# Configuration parameters: CountComments.
Metrics/ModuleLength:
Max: 347

# Offense count: 60
Metrics/PerceivedComplexity:
Max: 33

Layout/MultilineMethodCallIndentation:
Enabled: false

Style/RegexpLiteral:
Enabled: false

Style/IfInsideElse:
Enabled: false

Style/DateTime:
Enabled: false

Style/CaseEquality:
Enabled: false

Style/FrozenStringLiteralComment:
Enabled: false

Lint/ParenthesesAsGroupedExpression:
Enabled: false

Layout/EndAlignment:
Enabled: false

Layout/DefEndAlignment:
Enabled: false

Lint/SafeNavigationChain:
Enabled: false

Lint/AssignmentInCondition:
Enabled: false

Naming/AccessorMethodName:
Enabled: false

Metrics/ClassLength:
Enabled: false

Metrics/ParameterLists:
Enabled: false

Style/StringLiterals:
Enabled: false

Metrics/LineLength:
Max: 423

Style/Documentation:
Enabled: false

0 comments on commit 85cd4b7

Please sign in to comment.