Skip to content

Similar Projects in this area

Louis Kueh edited this page Oct 26, 2018 · 10 revisions

List of similar projects

  • F-sharp Lint
    • Only checks style
    • Uses MS Build Task / console
    • Within ionide
    • Utilizes hints analyzer to parse ast and enables users to write their own rules

The Hints analyser is inspired by HLint. The hints let users easily write their own rules which are matched against linted code and when matched produce a suggestion that the user provides as part of the hint.

let the user know of problems through matching user defined hints a la HLint, and also by using custom rules written in F# similar to the rules in Mascot and StyleCop.

E.g.

Consider changing `ExampleInterface` to be prefixed with `I`.
Error in file Program.fs on line 1 starting at column 5
type ExampleInterface =
     ^

Consider changing `print` to PascalCase.
Error in file Program.fs on line 2 starting at column 19
   abstract member print : unit -> unit
                   ^

If `(+)` has no mutable arguments partially applied the lambda can be removed.
Error in file Program.fs on line 6 starting at column 23
    let x = List.fold (fun x y -> x + y) 0 [1;2;3]

Clone this wiki locally