Skip to content

Commit

Permalink
chore(linter): silenting linter
Browse files Browse the repository at this point in the history
  • Loading branch information
naqvis committed Aug 7, 2024
1 parent 015d8e2 commit b64df7f
Showing 1 changed file with 32 additions and 2 deletions.
34 changes: 32 additions & 2 deletions .ameba.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
Lint/UselessAssign:
Description: Disallows useless variable assignments
ExcludeTypeDeclarations: false
Enabled: false
Severity: Warning

Lint/NotNil:
Description: Identifies usage of `not_nil!` calls
Enabled: false
Severity: Warning

Naming/BlockParameterName:
Description: Disallows non-descriptive block parameter names
Enabled: false
Severity: Convention

Lint/SpecFilename:
Description: Enforces spec filenames to have `_spec` suffix
Enabled: false
Severity: Warning

Lint/DebugCalls:
Description: Disallows debug-related calls
Enabled: false
Severity: Warning

Lint/MissingBlockArgument:
Description: Disallows yielding method definitions without block argument
Enabled: false
Severity: Warning

Metrics/CyclomaticComplexity:
Description: Disallows methods with a cyclomatic complexity higher than `MaxComplexity`
MaxComplexity: 15
Lint/NotNil:
Enabled: false
Severity: Warning

0 comments on commit b64df7f

Please sign in to comment.