Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fix MSBuild integration sample in docs #750 [@xperiandri]
- Exit after printing out version information #743 [@numpsy]
- Fix .NET 8 support #748 [@xperiandri]
- Update docs to note that linting supports `slnx` and `slnf` files #744 [@numpsy]

## [0.25.0] - 2025-07-11

Expand Down
2 changes: 1 addition & 1 deletion docs/content/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The project aims to let the user know of problems through [matching user defined
a la [HLint](http://community.haskell.org/~ndm/hlint/), and also by using custom rules written in F# similar to the rules
in [Mascot](http://mascot.x9c.fr/manual.html) and [StyleCop](http://stylecop.codeplex.com/).

Using a `.fsproj` (F# project) or `.sln` (F# solution) file the tool will analyse all of the F# implementation files in the project/solution looking for
Using a `.fsproj` (F# project) or `.sln` / `.slnx` / `.slnf` (F# solution) file the tool will analyse all of the F# implementation files in the project/solution looking for
code that breaks a set of rules governing the style of the code. Examples of rules: lambda functions must be less than 6 lines long, class member identifiers must be PascalCase.

## Usage
Expand Down
2 changes: 1 addition & 1 deletion src/FSharpLint.Core/Application/Lint.fs
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ module Lint =
FailedToLoadFile projectFilePath
|> LintResult.Failure

/// Lints an entire F# solution by linting all projects specified in the `.sln` file.
/// Lints an entire F# solution by linting all projects specified in the `.sln`, `slnx` or `.slnf` file.
let lintSolution (optionalParams:OptionalLintParameters) (solutionFilePath:string) (toolsPath:Ionide.ProjInfo.Types.ToolsPath) =
if IO.File.Exists solutionFilePath then
let solutionFilePath = Path.GetFullPath solutionFilePath
Expand Down
2 changes: 1 addition & 1 deletion src/FSharpLint.Core/Application/Lint.fsi
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ module Lint =
/// Runs all rules which take a line of text as input.
val runLineRules : LineRules -> Rules.GlobalRuleConfig -> string -> string -> string [] -> Context -> Suggestion.LintWarning []

/// Lints an entire F# solution by linting all projects specified in the `.sln` file.
/// Lints an entire F# solution by linting all projects specified in the `.sln`, `slnx` or `.slnf` file.
Comment thread
xperiandri marked this conversation as resolved.
val lintSolution : optionalParams:OptionalLintParameters -> solutionFilePath:string -> toolsPath:Ionide.ProjInfo.Types.ToolsPath -> LintResult

/// Lints an entire F# project by retrieving the files from a given
Expand Down
Loading