Skip to content

Commit 154f1b5

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

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

build.fsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ let buildStage =
2121
pipeline "Build" {
2222
restoreStage
2323
// TODO: can uncomment this after .NET SDK 9.0.101 releases
24-
// stage "lint" { run "dotnet fantomas . --check" }
24+
stage "lint" { run "dotnet fantomas . --check" }
2525
stage "build" { run "dotnet build -c Release --no-restore -maxCpuCount" }
2626
stage "test" {
2727
purgeBinLogCache ()
@@ -31,7 +31,9 @@ pipeline "Build" {
3131
run
3232
"dotnet run --project src/FSharp.Analyzers.Cli/FSharp.Analyzers.Cli.fsproj -- --project ./samples/OptionAnalyzer/OptionAnalyzer.fsproj --analyzers-path ./artifacts/bin/OptionAnalyzer/release --verbosity d"
3333
}
34-
stage "docs" { run "dotnet fsdocs build --properties Configuration=Release --eval --clean --strict" }
34+
stage "docs" {
35+
run "dotnet fsdocs build --properties Configuration=Release --eval --clean --strict"
36+
}
3537
runIfOnlySpecified false
3638
}
3739

0 commit comments

Comments
 (0)