mirror of
https://github.com/samsonjs/instapaper.git
synced 2026-03-25 08:55:49 +00:00
70 lines
1.1 KiB
YAML
70 lines
1.1 KiB
YAML
AllCops:
|
|
Include:
|
|
- "./Rakefile"
|
|
- "instapaper.gemspec"
|
|
- "lib/**/*.rb"
|
|
- "spec/**/*.rb"
|
|
DisplayCopNames: true
|
|
NewCops: enable
|
|
|
|
Gemspec/RequireMFA:
|
|
Enabled: false
|
|
|
|
Metrics/BlockLength:
|
|
Max: 36
|
|
Exclude:
|
|
- spec/**/*.rb
|
|
|
|
Metrics/BlockNesting:
|
|
Max: 2
|
|
|
|
Layout/LineLength:
|
|
AllowURI: true
|
|
Enabled: false
|
|
|
|
Metrics/MethodLength:
|
|
CountComments: false
|
|
Max: 10
|
|
|
|
Metrics/ParameterLists:
|
|
Max: 4
|
|
CountKeywordArgs: true
|
|
|
|
Style/CollectionMethods:
|
|
PreferredMethods:
|
|
map: "collect"
|
|
reduce: "inject"
|
|
find: "detect"
|
|
find_all: "select"
|
|
|
|
Style/Documentation:
|
|
Enabled: false
|
|
|
|
Style/DoubleNegation:
|
|
Enabled: false
|
|
|
|
Style/FrozenStringLiteralComment:
|
|
Enabled: false
|
|
|
|
Style/MutableConstant:
|
|
Enabled: false
|
|
|
|
Style/NumericPredicate:
|
|
Enabled: false
|
|
|
|
Layout/SpaceInsideHashLiteralBraces:
|
|
EnforcedStyle: no_space
|
|
|
|
Style/TrailingCommaInArguments:
|
|
EnforcedStyleForMultiline: "comma"
|
|
|
|
Style/TrailingCommaInArrayLiteral:
|
|
EnforcedStyleForMultiline: "comma"
|
|
|
|
Style/TrailingCommaInHashLiteral:
|
|
EnforcedStyleForMultiline: "comma"
|
|
|
|
Naming/FileName:
|
|
Exclude:
|
|
- Rakefile
|
|
- Gemfile
|