-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/publiclab/mapknitter-export…
…er-sinatra into kramdown_from_alax
- Loading branch information
Showing
9 changed files
with
1,363 additions
and
245 deletions.
There are no files selected for viewing
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
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 |
Oops, something went wrong.