-
Notifications
You must be signed in to change notification settings - Fork 1
/
fsharplint.json
97 lines (97 loc) · 2.73 KB
/
fsharplint.json
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"ignoreFiles": [
"*assemblyinfo.*"
],
"formatting": {
"typedItemSpacing": {
"enabled": true,
"config": {
"typedItemStyle": "SpaceAfter"
}
},
"typePrefixing": { "enabled": false },
"unionDefinitionIndentation": { "enabled": false },
"moduleDeclSpacing": { "enabled": false },
"classMemberSpacing": { "enabled": false },
"tupleFormatting": {
"tupleCommaSpacing": { "enabled": false },
"tupleIndentation": { "enabled": true },
"tupleParentheses": { "enabled": true }
},
"patternMatchFormatting": {
"patternMatchClausesOnNewLine": { "enabled": true },
"patternMatchOrClausesOnNewLine": { "enabled": true },
"patternMatchClauseIndentation": { "enabled": true },
"patternMatchExpressionIndentation": { "enabled": true }
}
},
"conventions": {
"recursiveAsyncFunction": { "enabled": true },
"redundantNewKeyword": { "enabled": true },
"nestedStatements": {
"enabled": true,
"config": {
"depth": 16
}
},
"reimplementsFunction": { "enabled": true },
"canBeReplacedWithComposition": { "enabled": true },
"raiseWithTooManyArgs": {
"raiseWithSingleArgument": { "enabled": true },
"nullArgWithSingleArgument": { "enabled": true },
"invalidOpWithSingleArgument": { "enabled": true },
"invalidArgWithTwoArguments": { "enabled": true },
"failwithfWithArgumentsMatchingFormatString": { "enabled": true }
},
"numberOfItems": {
"maxNumberOfFunctionParameters": {
"enabled": true,
"config": {
"maxItems": 8
}
},
"maxNumberOfBooleanOperatorsInCondition": {
"enabled": true,
"config": {
"maxItems": 4
}
}
},
"binding": {
"favourIgnoreOverLetWild": { "enabled": true },
"wildcardNamedWithAsPattern": { "enabled": true },
"uselessBinding": { "enabled": true },
"tupleOfWildcards": { "enabled": true }
}
},
"typography": {
"indentation": {
"enabled": false,
"config": {
"numberOfIndentationSpaces": 4
}
},
"maxCharactersOnLine": {
"enabled": true,
"config": {
"maxCharactersOnLine": 160
}
},
"trailingWhitespaceOnLine": {
"enabled": true,
"config": {
"numberOfSpacesAllowed": 0,
"oneSpaceAllowedAfterOperator": false,
"ignoreBlankLines": false
}
},
"maxLinesInFile": {
"enabled": true,
"config": {
"maxLinesInFile": 1000
}
},
"trailingNewLineInFile": { "enabled": false },
"noTabCharacters": { "enabled": true }
}
}