faaso/.ameba.yml

87 lines
1.9 KiB
YAML
Raw Normal View History

2024-06-28 23:57:58 +00:00
# This configuration file was generated by `ameba --gen-config`
# on 2024-06-28 23:57:47 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 Layout/TrailingBlankLines` for details
Layout/TrailingBlankLines:
Description: Disallows trailing blank lines
Excluded:
- tmp/d1808c39-8dff-4267-9bec-6961ec16c41f/function.cr
- tmp/26456ab0-43e4-44fb-8b6f-986880ff5a41/function.cr
Enabled: true
Severity: Convention
# Problems found: 2
# Run `ameba --only Lint/Formatting` for details
Lint/Formatting:
Description: Reports not formatted sources
FailOnError: false
Excluded:
- tmp/d1808c39-8dff-4267-9bec-6961ec16c41f/function.cr
- tmp/26456ab0-43e4-44fb-8b6f-986880ff5a41/function.cr
Enabled: true
Severity: Warning
# Problems found: 13
# Run `ameba --only Documentation/DocumentationAdmonition` for details
Documentation/DocumentationAdmonition:
Description: Reports documentation admonitions
Timezone: UTC
Excluded:
- src/faaso.cr
- spec/faaso_spec.cr
Admonitions:
- TODO
- FIXME
- BUG
Enabled: true
Severity: Warning
# Problems found: 1
# Run `ameba --only Lint/DebugCalls` for details
Lint/DebugCalls:
Description: Disallows debug-related calls
Excluded:
- src/faaso.cr
MethodNames:
- p
- p!
- pp
- pp!
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:
- src/faaso.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