Skip to content

Commit

Permalink
update ameba config
Browse files Browse the repository at this point in the history
  • Loading branch information
mamantoha committed Jul 6, 2024
1 parent dadc7f9 commit 9494f98
Showing 1 changed file with 4 additions and 38 deletions.
42 changes: 4 additions & 38 deletions .ameba.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1,13 @@
# This configuration file was generated by `ameba --gen-config`
# on 2024-04-11 17:06:41 UTC using Ameba version 1.6.1.
# The point is for the user to remove these configuration records
# one by one as the reported problems are removed from the code base.

# Problems found: 2
# Run `ameba --only Lint/NotNil` for details
Lint/NotNil:
Description: Identifies usage of `not_nil!` calls
Excluded:
- benchmark/benchmark.cr
Enabled: true
Severity: Warning

# Problems found: 3
# Run `ameba --only Naming/BlockParameterName` for details
Naming/BlockParameterName:
Description: Disallows non-descriptive block parameter names
MinNameLength: 3
AllowNamesEndingInNumbers: true
Enabled: false

Lint/DebugCalls:
Excluded:
- benchmark/benchmark.cr
- src/kd_tree.cr
- spec/kd_tree_spec.cr
AllowedNames:
- _
- e
- i
- j
- k
- v
- x
- y
- ex
- io
- ws
- op
- tx
- id
- ip
- k1
- k2
- v1
- v2
ForbiddenNames: []
- samples/*
Enabled: true
Severity: Convention

0 comments on commit 9494f98

Please sign in to comment.