-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Some sources gathered:
- GitHub search: https://github.com/search?q=path%3A.ameba.yml&type=code
- Crystal's
.ameba.yml: https://github.com/crystal-lang/crystal/blob/master/.ameba.yml
Kagi's .ameba.yml
Documentation/DocumentationAdmonition:
Enabled: false
Lint/DebugCalls:
Excluded:
- <files>
Lint/NotNil:
Enabled: false
Lint/ShadowingOuterLocalVar:
Enabled: false
Lint/UnusedArgument:
Enabled: false
Lint/UselessAssign:
ExcludeTypeDeclarations: true
Excluded:
- <a lot of files>
Metrics/CyclomaticComplexity:
Enabled: false
Naming/BlockParameterName:
Enabled: false
Style/RedundantReturn:
Enabled: false
Style/ParenthesesAroundCondition:
Enabled: false
Lint/LiteralInCondition:
Enabled: false
Lint/MissingBlockArgument:
Excluded:
- <files>
Style/WhileTrue:
Excluded:
- <files>
Naming/AccessorMethodName:
Enabled: false
Performance/ChainedCallWithNoBang:
Excluded:
- <1 file>
Style/VerboseBlock:
Enabled: false
Naming/QueryBoolMethods:
Enabled: false
Style/RedundantBegin:
Enabled: false
Naming/VariableNames:
Enabled: false
Performance/AnyInsteadOfEmpty:
Enabled: false
Lint/RedundantStringCoercion:
Enabled: false
Lint/NotNilAfterNoBang:
Enabled: false
Performance/ExcessiveAllocations:
Description: Identifies usage of excessive collection allocations
CallNames:
codepoints: each_codepoint
graphemes: each_grapheme
chars: each_char
# lines: each_line
Style/IsAFilter:
Excluded:
- <1 file>
Style/NegatedConditionsInUnless:
Excluded:
- <1 file>
Enabled: true
Style/MultilineCurlyBlock:
Enabled: false
Style/HeredocIndent:
Enabled: false
Style/RedundantSelf:
Enabled: false
Lint/Formatting:
Enabled: false
Lint/ElseNil:
Enabled: false
Lint/SpecEqWithBoolOrNilLiteral:
Enabled: false
Style/PercentLiteralDelimiters:
Enabled: false
Lint/VoidOutsideLib:
Enabled: false
Naming/ConstantNames:
Enabled: false
Lint/WhitespaceAroundMacroExpression:
Enabled: falseReactions are currently unavailable