Skip to content

Go over and review all of the enabled rules in terms of the PITA-factor #684

@Sija

Description

@Sija

Some sources gathered:

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: false

Refs #448, #453

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions