Skip to content

Commit bf5bcdf

Browse files
committed
Add rebaselining steps to CONTRIBUTING
1 parent ff9f786 commit bf5bcdf

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

CONTRIBUTING.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,14 @@ We welcome contributions. If you want to contribute to existing issues, check th
55
[good first issue](https://github.com/rjmurillo/moq.analyzers/labels/good%20first%20issue) items in the backlog.
66

77
If you have new ideas or want to complain about bugs, feel free to [create a new issue](https://github.com/rjmurillo/moq.analyzers/issues/new).
8+
9+
## Updating SquiggleCop baselines
10+
11+
To update SquiggleCop baselines, run this command and review and commit the results:
12+
13+
```powershell
14+
dotnet clean && dotnet build /p:PedanticMode=true /p:SquiggleCop_AutoBaseline=true
15+
```
16+
17+
`$(PedanticMode)` turns on the CI configuration (e.g. `TreatWarningsAsErrors`) and `$(SquiggleCop_AutoBaseline)`
18+
automatically accepts the new baseline.

0 commit comments

Comments
 (0)