-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.ameba.yml
34 lines (30 loc) · 1.04 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
# This configuration file was generated by `ameba --gen-config`
# on 2020-03-05 09:32:53 UTC using Ameba version 0.11.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: 3
# Run `ameba --only Lint/UselessAssign` for details
Lint/UselessAssign:
Description: Disallows useless variable assignments
Enabled: true
Severity: Warning
Excluded:
- config/routes.cr
- src/helpers/url_helpers.cr
# Run `ameba --only Layout/TrailingWhitespace` for details
Layout/TrailingWhitespace:
Description: Disallows trailing whitespaces
Enabled: true
Severity: Convention
# Run `ameba --only Style/RedundantBegin` for details
Style/RedundantBegin:
Description: Disallows redundant begin blocks
Enabled: true
Severity: Convention
# Run `ameba --only Style/RedundantReturn` for details
Style/RedundantReturn:
Description: Reports redundant return expressions
AllowMultiReturn: true
AllowEmptyReturn: true
Enabled: false
Severity: Convention