Skip to content

Commit

Permalink
add ameba config
Browse files Browse the repository at this point in the history
  • Loading branch information
mamantoha committed Mar 29, 2024
1 parent afda898 commit 461289e
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .ameba.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This configuration file was generated by `ameba --gen-config`
# on 2024-03-29 12:41:29 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
# Run `ameba --only Naming/BlockParameterName` for details
Naming/BlockParameterName:
Description: Disallows non-descriptive block parameter names
MinNameLength: 3
AllowNamesEndingInNumbers: true
Excluded:
- src/kd_tree.cr
AllowedNames:
- _
- e
- i
- j
- k
- v
- x
- y
- ex
- io
- ws
- op
- tx
- id
- ip
- k1
- k2
- v1
- v2
ForbiddenNames: []
Enabled: true
Severity: Convention

0 comments on commit 461289e

Please sign in to comment.