42 lines
1.3 KiB
YAML
42 lines
1.3 KiB
YAML
# This configuration file was generated by `ameba --gen-config`
|
|
# on 2019-06-14 15:05:57 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: 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 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: 1
|
|
# Run `ameba --only Style/NegatedConditionsInUnless` for details
|
|
Style/NegatedConditionsInUnless:
|
|
Description: Disallows negated conditions in unless
|
|
Enabled: true
|
|
Severity: Convention
|
|
Excluded:
|
|
- src/kemal/ext/response.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
|