-
Notifications
You must be signed in to change notification settings - Fork 10
/
.ameba.yml
39 lines (36 loc) · 1.2 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
# This configuration file was generated by `ameba --gen-config`
# on 2023-11-14 08:54:37 UTC using Ameba version 1.5.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: 10
# Run `ameba --only Naming/Filename` for details
Naming/Filename:
Description: Enforces file names to be in underscored case
Excluded:
- examples/HelloWorld_publisher.cr
- examples/PublishSubscribe_consumer.cr
- examples/PublishSubscribe_publisher.cr
- examples/Routing_consumer.cr
- examples/Routing_publisher.cr
- examples/Topics_consumer.cr
- examples/Topics_publisher.cr
- examples/WorkQueues_consumer.cr
- examples/WorkQueues_publisher.cr
- examples/HelloWorld_consumer.cr
Enabled: true
Severity: Convention
# Problems found: 11
# Run `ameba --only Lint/NotNil` for details
Lint/NotNil:
Description: Identifies usage of `not_nil!` calls
Excluded:
- spec/websocket_spec.cr
- spec/amqp-client_spec.cr
- src/amqp-client/channel.cr
Enabled: true
Severity: Warning
Naming/BlockParameterName:
MinNameLength: 1
AllowNamesEndingInNumbers: true
Enabled: true
Severity: Convention