Revise `.editorconfig` and `.globalconfig` documentation
- Dominant language
- No language data
- Stars
- 4.8k
- Forks
- 6.1k
- Avg merge
- 19h 10m
- Merged PRs (30d)
- 268
Description
The page mentions the following:
> If you have an existing .editorconfig file for editor settings such as indent size or whether to trim trailing whitespace, you can place your code analysis configuration options in the same file.
But is this the best way to go? I think a better advice is to have both `.editorconfig` and `.globalconfig` files with editor settings in `.editorconfig` and analyzer configuration options in `.globalconfig`.
cc @sharwell @mavasani thoughts?
---
#### Document Details
⚠ *Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.*
* ID: ddb7b648-6f01-eaeb-1292-4baee5ae0666
* Version Independent ID: cb44b30a-3fcc-3384-3fcd-1ac2675bf470
* Content: [Configuration files for code analysis rules - .NET](https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/configuration-files)
* Content Source: [docs/fundamentals/code-analysis/configuration-files.md](https://github.com/dotnet/docs/blob/main/docs/fundamentals/code-analysis/configuration-files.md)
* Product: **dotnet-fundamentals**
* GitHub Login: @gewarren
* Microsoft Alias: **gewarren**
Contributor guide
Assessment
This issue has not been assessed yet.