-
Notifications
You must be signed in to change notification settings - Fork 2
/
.ameba.yml
43 lines (40 loc) · 1.36 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
# This configuration file was generated by `ameba --gen-config`
# on 2022-07-09 18:19:29 UTC using Ameba version 0.14.3.
# 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: 56
# Run `ameba --only Lint/UselessAssign` for details
Lint/UselessAssign:
Description: Disallows useless variable assignments
Excluded:
- spec/entitas/contexts_spec.cr
- spec/entitas/entity_index_spec.cr
- spec/performance/tasks/context_bench.cr
- spec/performance/tasks/context_ips_bench.cr
- spec/performance/tasks/basics_bench.cr
- spec/performance/tasks/proc_bench.cr
- spec/performance/tasks/entity_ips_bench.cr
- spec/performance/tasks/entity_bench.cr
Enabled: true
Severity: Warning
# Problems found: 11
# Run `ameba --only Lint/UnusedArgument` for details
Lint/UnusedArgument:
Description: Disallows unused arguments
IgnoreDefs: true
IgnoreBlocks: false
IgnoreProcs: false
Excluded:
- spec/entitas/reactive_system_spec.cr
- spec/entitas/entity_index_spec.cr
- spec/performance/tasks/proc_bench.cr
Enabled: true
Severity: Warning
# Problems found: 3
# Run `ameba --only Style/IsANil` for details
Style/IsANil:
Description: Disallows calls to `is_a?(Nil)` in favor of `nil?`
Excluded:
- src/entitas/generators/main.cr
Enabled: true
Severity: Convention