-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
90 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters