Skip to content

Commit 032f006

Browse files
committed
Temporarily disable lint warning about expressionChildren() being too long
1 parent a254365 commit 032f006

File tree

1 file changed

+4
-0
lines changed
  • src/FSharpLint.Core/Framework

1 file changed

+4
-0
lines changed

src/FSharpLint.Core/Framework/Ast.fs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,8 @@ module Ast =
256256
add <| Pattern lhs
257257
add <| Pattern rhs
258258

259+
260+
// fsharplint:disable FL0025
259261
let inline private expressionChildren (node: SynExpr) (add: AstNode -> unit) =
260262
let addMany = List.iter add
261263

@@ -381,6 +383,8 @@ module Ast =
381383
expr2 |> Option.iter (Expression >> add)
382384
| _ -> ()
383385

386+
// fsharplint:enable
387+
384388
let inline private typeSimpleRepresentationChildren node add =
385389
match node with
386390
| SynTypeDefnSimpleRepr.Union(_, unionCases, _) -> List.revIter (UnionCase >> add) unionCases

0 commit comments

Comments
 (0)