Add auto-generated .ameba.yml
This commit is contained in:
parent
fc8ac1160c
commit
f3d02e60af
1 changed files with 33 additions and 0 deletions
33
.ameba.yml
Normal file
33
.ameba.yml
Normal file
|
@ -0,0 +1,33 @@
|
|||
# This configuration file was generated by `ameba --gen-config`
|
||||
# on 2019-06-13 12:39:59 UTC using Ameba version 0.10.0.
|
||||
# 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: 1
|
||||
# Run `ameba --only Lint/ShadowingOuterLocalVar` for details
|
||||
Lint/ShadowingOuterLocalVar:
|
||||
Description: Disallows the usage of the same name as outer local variables for block
|
||||
or proc arguments.
|
||||
Enabled: true
|
||||
Severity: Warning
|
||||
Excluded:
|
||||
- spec/run_spec.cr
|
||||
|
||||
# Problems found: 7
|
||||
# Run `ameba --only Lint/UselessAssign` for details
|
||||
Lint/UselessAssign:
|
||||
Description: Disallows useless variable assignments
|
||||
Enabled: true
|
||||
Severity: Warning
|
||||
Excluded:
|
||||
- spec/view_spec.cr
|
||||
|
||||
# Problems found: 1
|
||||
# Run `ameba --only Metrics/CyclomaticComplexity` for details
|
||||
Metrics/CyclomaticComplexity:
|
||||
Description: Disallows methods with a cyclomatic complexity higher than `MaxComplexity`
|
||||
MaxComplexity: 10
|
||||
Enabled: true
|
||||
Severity: Convention
|
||||
Excluded:
|
||||
- src/kemal/static_file_handler.cr
|
Loading…
Reference in a new issue