{"repo":"fsprojects/FSharpLint","free":true,"listed":false,"github":"https://github.com/fsprojects/FSharpLint","clone":"git clone https://github.com/fsprojects/FSharpLint.git","description":"Lint tool for F#","language":"F#","stars":328,"topics":["fsharp","lint","linter","dotnet"],"license":"MIT","category":"dev-tools","readme_excerpt":"FSharpLint FSharpLint is a static analysis tool for F#. Like many other software linters, it analyzes your source code (using both typed and untyped syntax trees) and highlights any violations of defined F# coding rules. There are various kinds of rules: Conventions: ensures that your API members follow project- or solution-wide naming standards, or that your source code is structured in parts that don't surpass excessive (and configurable) certain lengths. Smells: warns about logic that may indicate defects, or pose maintainability problems or downsides. Formatting: checks that code is indented and structured according to specified cosmetic standards (beware, this kind of rules are deprecated in favour of more mature tools such as fantomas ). The tool is configurable via JSON and can be run as a console app or as an MSBuild task. It also provides an interface for easy integration into other software. The project aims to 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. The tool in use (running as an MSBuild task with TreatWarningsAsErrors set to true): Usage FSharpLint can be used in several ways: Running as dotnet tool from command line. In VS Code using the Ionide-FSharp plugin. In Visual Studio using the F# Lint extension. As an MSBuild Task. In other editors through FsAutoComplete Language Server Documentation The docs contain an overview of the tool and ","default_branch":null,"files":null,"tree":[],"storefront":"/r/fsprojects","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fsprojects/FSharpLint/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}