You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dotnetv3/README.md
+20
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,26 @@ In general, follow these steps:
49
49
and a **.csproj** file.
50
50
4. Run the project using the ```dotnet run``` command.
51
51
52
+
## Linting
53
+
We rely on [dotnet-format](https://github.com/dotnet/format) to keep this code consistently formatted and styled.
54
+
To contribute .NET code to this project, please refer to the following installation and usage steps.
55
+
56
+
### Using dotnet-format
57
+
We run dotnet-format using [a custom configuration file](.editorconfig) against any changed file or directory. See the [.NET Github Action workflow](../.github/workflows/dotnet-check.yml) for details.
58
+
59
+
To invoke dotnet-format yourself, first install it with
60
+
61
+
```
62
+
dotnet tool install -g dotnet-format`.
63
+
```
64
+
65
+
Next, run the dotnet-format command in the directory of your solution or project:
66
+
67
+
```
68
+
dotnet format
69
+
```
70
+
71
+
52
72
## Tests
53
73
⚠️ Running the tests might result in charges to your AWS account.
0 commit comments