mirror of
https://github.com/actions/runner.git
synced 2025-12-11 04:46:58 +00:00
Don't disable lint errors (#2436)
* Update lint.yml Don't ignore the formatting errors * Add formatting made by @cory-miller * Use dotnet format * Format only modified files * Add instruction to contribute.md * Use git status instead of git diff
This commit is contained in:
@@ -158,3 +158,11 @@ cat (Runner/Worker)_TIMESTAMP.log # view your log file
|
||||
|
||||
We use the .NET Foundation and CoreCLR style guidelines [located here](
|
||||
https://github.com/dotnet/corefx/blob/master/Documentation/coding-guidelines/coding-style.md)
|
||||
|
||||
### Format C# Code
|
||||
|
||||
To format both staged and unstaged .cs files
|
||||
```
|
||||
cd ./src
|
||||
./dev.(cmd|sh) format
|
||||
```
|
||||
Reference in New Issue
Block a user