Skip to content

Commit

Permalink
Add rebaselining steps to CONTRIBUTING
Browse files Browse the repository at this point in the history
  • Loading branch information
MattKotsenas committed Aug 1, 2024
1 parent 6b1ad0b commit 5889489
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,14 @@ We welcome contributions. If you want to contribute to existing issues, check th
[good first issue](https://github.com/rjmurillo/moq.analyzers/labels/good%20first%20issue) items in the backlog.

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).

## Updating SquiggleCop baselines

To update SquiggleCop baselines, run this command and review and commit the results:

```powershell
dotnet clean && dotnet build /p:PedanticMode=true /p:SquiggleCop_AutoBaseline=true
```

`$(PedanticMode)` turns on the CI configuration (e.g. `TreatWarningsAsErrors`) and `$(SquiggleCop_AutoBaseline)`
automatically accepts the new baseline.

0 comments on commit 5889489

Please sign in to comment.