Skip to content

Commit df01591

Browse files
committed
Uncomment lint stage to enable code formatting checks with Fantomas
1 parent 031f9a3 commit df01591

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

build.fsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ let buildStage =
2020

2121
pipeline "Build" {
2222
restoreStage
23-
// TODO: can uncomment this after .NET SDK 9.0.101 releases
24-
// stage "lint" { run "dotnet fantomas . --check" }
23+
stage "lint" { run "dotnet fantomas . --check" }
2524
stage "build" { run "dotnet build -c Release --no-restore -maxCpuCount" }
2625
stage "test" {
2726
purgeBinLogCache ()
@@ -31,7 +30,9 @@ pipeline "Build" {
3130
run
3231
"dotnet run --project src/FSharp.Analyzers.Cli/FSharp.Analyzers.Cli.fsproj -- --project ./samples/OptionAnalyzer/OptionAnalyzer.fsproj --analyzers-path ./artifacts/bin/OptionAnalyzer/release --verbosity d"
3332
}
34-
stage "docs" { run "dotnet fsdocs build --properties Configuration=Release --eval --clean --strict" }
33+
stage "docs" {
34+
run "dotnet fsdocs build --properties Configuration=Release --eval --clean --strict"
35+
}
3536
runIfOnlySpecified false
3637
}
3738

0 commit comments

Comments
 (0)