-
-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy path.ameba.yml
More file actions
50 lines (42 loc) · 1.22 KB
/
.ameba.yml
File metadata and controls
50 lines (42 loc) · 1.22 KB
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
48
49
50
Metrics/CyclomaticComplexity:
Enabled: false
Style/ParenthesesAroundCondition:
Description: Disallows redundant parentheses around control expressions
ExcludeTernary: false
AllowSafeAssignment: true
Enabled: true
Severity: Convention
Documentation/DocumentationAdmonition:
Enabled: false
Severity: Warning
Lint/NotNil:
Description: Identifies usage of `not_nil!` calls
Excluded:
- src/crystalline/analysis/analysis.cr
- src/crystalline/result_cache.cr
- src/crystalline/workspace.cr
Enabled: true
Severity: Warning
Naming/BlockParameterName:
Enabled: false
Severity: Convention
Lint/RedundantStringCoercion:
Description: Disallows redundant string conversions in interpolation
Enabled: true
Severity: Warning
Lint/ShadowingOuterLocalVar:
Description:
Disallows the usage of the same name as outer local variables for block
or proc arguments
Excluded:
- src/crystalline/ext/compiler.cr
Enabled: true
Severity: Warning
Naming/QueryBoolMethods:
Description: Reports boolean properties without the `?` suffix
Enabled: false
Severity: Convention
Style/WhileTrue:
Description: Disallows while statements with a true literal as condition
Enabled: false
Severity: Convention