Skip to content

Commit 7ff26b1

Browse files
Add exclusion config for parens analyzer (#2070)
1 parent d5cb8a3 commit 7ff26b1

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

release/package.json

+15-1
Original file line numberDiff line numberDiff line change
@@ -867,6 +867,20 @@
867867
"description": "Enables detection of unnecessary parentheses",
868868
"type": "boolean"
869869
},
870+
"FSharp.unnecessaryParenthesesAnalyzerExclusions": {
871+
"default": [
872+
".*\\.g\\.fs",
873+
".*\\.cg\\.fs"
874+
],
875+
"description": "A set of regex patterns to exclude from the unnecessary parentheses analyzer",
876+
"type": "array",
877+
"items": {
878+
"type": "string"
879+
},
880+
"required": [
881+
"FSharp.unnecessaryParenthesesAnalyzer"
882+
]
883+
},
870884
"FSharp.smartIndent": {
871885
"default": false,
872886
"description": "Enables smart indent feature",
@@ -1832,4 +1846,4 @@
18321846
"url": "https://github.com/ionide/ionide-vscode-fsharp.git"
18331847
},
18341848
"version": "7.25.2"
1835-
}
1849+
}

0 commit comments

Comments
 (0)