Skip to content

Commit e137755

Browse files
committed
Changes to nimalyzer configuration
1 parent 3f1de35 commit e137755

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

nimalyzer.cfg

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,35 +8,28 @@ directory tests
88

99
check assignments shorthand
1010

11-
check caseStatements min 3
12-
check complexity all 1
11+
check caseStatements min 2
12+
check complexity all 3
1313

14-
check forStatements empty
15-
check forStatements iterators
14+
check forStatements all
1615
# check not forStatements iterators
1716

18-
# check hasPragma all contractual "raises: [*"
19-
# check hasPragma procedures contractual "raises: [*" "tags: [*"
20-
2117
check ifStatements all
22-
check ifStatements max 3
2318

2419
check localHides
2520

26-
# check namedParams
2721
check not namingConv enumerations .*_.*
2822
check not namingConv procedures .*_.*
2923
check not namingConv types .*_.*
3024
check not namingConv variables .*_.*
3125

32-
check objects all
33-
check not objects fields
26+
check not objects publicfields
3427

35-
check params all all
28+
check params used all
3629

37-
check not ranges spaces
30+
check ranges spaces
3831

3932
check trystatements empty
4033

41-
check varDeclared full
34+
check not varDeclared type
4235
check varUplevel

0 commit comments

Comments
 (0)