Skip to content

Commit

Permalink
Add exclusion config for parens analyzer (#2070)
Browse files Browse the repository at this point in the history
  • Loading branch information
brianrourkeboll authored Mar 2, 2025
1 parent d5cb8a3 commit 7ff26b1
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion release/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -867,6 +867,20 @@
"description": "Enables detection of unnecessary parentheses",
"type": "boolean"
},
"FSharp.unnecessaryParenthesesAnalyzerExclusions": {
"default": [
".*\\.g\\.fs",
".*\\.cg\\.fs"
],
"description": "A set of regex patterns to exclude from the unnecessary parentheses analyzer",
"type": "array",
"items": {
"type": "string"
},
"required": [
"FSharp.unnecessaryParenthesesAnalyzer"
]
},
"FSharp.smartIndent": {
"default": false,
"description": "Enables smart indent feature",
Expand Down Expand Up @@ -1832,4 +1846,4 @@
"url": "https://github.com/ionide/ionide-vscode-fsharp.git"
},
"version": "7.25.2"
}
}

0 comments on commit 7ff26b1

Please sign in to comment.