mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
33 lines
1 KiB
YAML
33 lines
1 KiB
YAML
# 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
|