Skip to content

Commit 3f1de35

Browse files
committed
Add nimalyzer.cfg
1 parent 92f45d8 commit 3f1de35

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

nimalyzer.cfg

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# verbosity lvlAll
2+
# verbosity lvlError
3+
4+
showSummary true
5+
6+
directory src
7+
directory tests
8+
9+
check assignments shorthand
10+
11+
check caseStatements min 3
12+
check complexity all 1
13+
14+
check forStatements empty
15+
check forStatements iterators
16+
# check not forStatements iterators
17+
18+
# check hasPragma all contractual "raises: [*"
19+
# check hasPragma procedures contractual "raises: [*" "tags: [*"
20+
21+
check ifStatements all
22+
check ifStatements max 3
23+
24+
check localHides
25+
26+
# check namedParams
27+
check not namingConv enumerations .*_.*
28+
check not namingConv procedures .*_.*
29+
check not namingConv types .*_.*
30+
check not namingConv variables .*_.*
31+
32+
check objects all
33+
check not objects fields
34+
35+
check params all all
36+
37+
check not ranges spaces
38+
39+
check trystatements empty
40+
41+
check varDeclared full
42+
check varUplevel

0 commit comments

Comments
 (0)