-
Notifications
You must be signed in to change notification settings - Fork 0
/
.ameba.yml
47 lines (43 loc) · 1.28 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
45
46
47
# This configuration file was generated by `ameba --gen-config`
# on 2019-10-30 12:08: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: 2
# 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:
- test.cr
- spec/mqtt_spec.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:
- test.cr
- sam.cr
# Problems found: 6
# Run `ameba --only Style/VariableNames` for details
Style/VariableNames:
Description: Enforces variable names to be in underscored case
Enabled: true
Severity: Convention
Excluded:
- spec/mqtt_spec.cr
- src/api/hermes.cr
# Problems found: 2
# Run `ameba --only Lint/UselessAssign` for details
Lint/UselessAssign:
Description: Disallows useless variable assignments
Enabled: true
Severity: Warning
Excluded:
- spec/mqtt_tls_spec.cr