Skip to content

Commit

Permalink
Update .ameba.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mamantoha committed Apr 11, 2024
1 parent 0256d1b commit dc4c1f1
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .ameba.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,27 @@
# This configuration file was generated by `ameba --gen-config`
# on 2024-03-29 12:41:29 UTC using Ameba version 1.6.1.
# 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: 4
# 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
Excluded:
- benchmark/benchmark.cr
- src/kd_tree.cr
- spec/kd_tree_spec.cr
AllowedNames:
- _
- e
Expand Down

0 comments on commit dc4c1f1

Please sign in to comment.