/
.ameba.yml
22 lines (20 loc) · 819 Bytes
/
.ameba.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# This configuration file was generated by `ameba --gen-config`
# on 2023-02-06 09:54:44 UTC using Ameba version 1.4.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 Metrics/CyclomaticComplexity` for details
Metrics/CyclomaticComplexity:
Description: Disallows methods with a cyclomatic complexity higher than `MaxComplexity`
MaxComplexity: 10
Enabled: true
Severity: Warning
Excluded:
- src/coverage_reporter/parsers/lcov_parser.cr
- src/coverage_reporter/parsers/gcov_parser.cr
- src/coverage_reporter/parsers/coveragepy_parser.cr
- src/coverage_reporter/cli/cmd.cr
Lint/PercentArrays:
Enabled: true
Excluded:
- spec/coverage_reporter/cli/cmd_spec.cr