Skip to content

Commit dc7fc19

Browse files
authored
Update config file extension (#43963)
1 parent e9bd874 commit dc7fc19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/fundamentals/code-analysis/includes/analysis-model-levels.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
|-------|-------------|
33
| `None` | All rules are disabled. You can selectively [opt in to](../configuration-options.md) individual rules to enable them. |
44
| `Default` | Default mode, where certain rules are enabled as build warnings, certain rules are enabled as Visual Studio IDE suggestions, and the remainder are disabled. |
5-
| `Minimum` | More aggressive mode than `Default` mode. Certain suggestions that are highly recommended for build enforcement are enabled as build warnings. To see which rules this includes, inspect the *%ProgramFiles%/dotnet/sdk/\[version]/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_\[level]_minimum.editorconfig* file. |
6-
| `Recommended` | More aggressive mode than `Minimum` mode, where more rules are enabled as build warnings. To see which rules this includes, inspect the *%ProgramFiles%/dotnet/sdk/\[version]/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_\[level]_recommended.editorconfig* file. |
5+
| `Minimum` | More aggressive mode than `Default` mode. Certain suggestions that are highly recommended for build enforcement are enabled as build warnings. To see which rules this includes, inspect the *%ProgramFiles%/dotnet/sdk/\[version]/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_\[level]_minimum.globalconfig* file. (For .NET 7 and earlier versions, the file extension is *.editorconfig*.) |
6+
| `Recommended` | More aggressive mode than `Minimum` mode, where more rules are enabled as build warnings. To see which rules this includes, inspect the *%ProgramFiles%/dotnet/sdk/\[version]/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_\[level]_recommended.globalconfig* file. (For .NET 7 and earlier versions, the file extension is *.editorconfig*.) |
77
| `All` | All rules are enabled as build warnings<sup>\*</sup>. You can selectively [opt out](../configuration-options.md) of individual rules to disable them.<br/><br/>\* The following rules are *not* enabled by setting `AnalysisMode` to `All` or by setting `AnalysisLevel` to `latest-all`: CA1017, CA1045, CA1005, CA1014, CA1060, CA1021, and the code metrics analyzer rules (CA1501, CA1502, CA1505, CA1506, and CA1509). These legacy rules might be deprecated in a future version. However, you can still enable them individually using a `dotnet_diagnostic.CAxxxx.severity = <severity>` entry. |

0 commit comments

Comments
 (0)