Skip to content

Commit 148445c

Browse files
committed
ParameterNames: fix rule
To not fire on member names.
1 parent 3aeff5d commit 148445c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FSharpLint.Core/Rules/Conventions/Naming/ParameterNames.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ let private getIdentifiers (args:AstNodeRuleParams) =
4141
| AstNode.Binding(SynBinding(access, _, _, _, attributes, _, valData, pattern, _, _, _, _, _)) ->
4242
if not (isLiteral attributes) then
4343
match identifierTypeFromValData valData with
44-
| Value | Function ->
44+
| Function ->
4545
let accessControlLevel = getAccessControlLevel args.SyntaxArray args.NodeIndex
4646
getPatternIdents accessControlLevel (getValueOrFunctionIdents args.CheckInfo) true pattern
4747
| Member | Property ->

0 commit comments

Comments
 (0)