-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.ameba.yml
44 lines (41 loc) · 1.37 KB
/
.ameba.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# This configuration file was generated by `ameba --gen-config`
# on 2020-07-15 19:09:35 UTC using Ameba version 0.10.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: 16
# Run `ameba --only Lint/UselessAssign` for details
Lint/UselessAssign:
Description: Disallows useless variable assignments
Enabled: true
Severity: Warning
Excluded:
- spec/oid/core/relationships_spec.cr
- spec/oid/components/stage_spec.cr
- spec/oid/vector_spec.cr
- examples/03/systems/input_system.cr
- examples/03/systems/collision_system.cr
- examples/03/systems/ui_system.cr
- examples/03/systems/world_system.cr
- examples/04/systems/world_system.cr
- examples/02/systems/world_system.cr
# Problems found: 3
# Run `ameba --only Lint/UnusedArgument` for details
Lint/UnusedArgument:
Description: Disallows unused arguments
IgnoreDefs: true
IgnoreBlocks: false
IgnoreProcs: false
Enabled: true
Severity: Warning
Excluded:
- examples/03/main.cr
- examples/test.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:
- examples/02/systems/input_system.cr