|
5 | 5 | exclude_paths: |
6 | 6 |
|
7 | 7 | # Ignore all root-level metadata and documentation |
8 | | - - '.gitignore' # root Git ignore file |
9 | | - - '.runsettings' # root runsettings file |
10 | | - - 'LICENSE' # root license file |
11 | | - - 'README.md' # root readme |
| 8 | + - '.gitignore' |
| 9 | + - '.runsettings' |
| 10 | + - 'LICENSE' |
| 11 | + - 'README.md' |
12 | 12 |
|
13 | 13 | # Ignore all file types that shouldn't be analyzed |
14 | | - - '**.yml' # YAML files anywhere (build, config, pipelines) |
15 | | - - '**.json' # JSON files (settings, config) |
16 | | - - '**.png' # Images, e.g., Swagger diagram |
17 | | - - '**.sln' # Solution files |
18 | | - - '**.csproj' # C# project files |
| 14 | + - '**.yml' |
| 15 | + - '**.json' |
| 16 | + - '**.png' |
| 17 | + - '**.sln' |
| 18 | + - '**.csproj' |
19 | 19 |
|
20 | 20 | # Ignore generated or infrastructure files |
21 | | - - '**/*Program.cs' # Main entry point, often not useful for static analysis |
| 21 | + - '**/*Program.cs' |
22 | 22 |
|
23 | 23 | # Ignore specific folders across any depth in the project |
24 | | - - '**/Configurations/**' # Swagger options, etc |
25 | | - - '**/Data/**' # Repositories, DbContext, database file, etc. |
26 | | - - '**/Enums/**' # Enumeration types |
27 | | - - '**/Mappings/**' # AutoMapper profiles |
28 | | - - '**/Migrations/**' # EF Core migration snapshots |
29 | | - - '**/Models/**' # Domain and DTO models |
30 | | - - '**/Properties/**' # launchSettings.json or AssemblyInfo.cs |
31 | | - - '**/Utilities/**' # Helper extensions or static classes |
32 | | - - '**/Validators/**' # FluentValidation validators |
33 | | - - 'test/**/*' # Entire test suite (unit + integration) |
34 | | - - 'scripts/**/*' # Helper shell scripts |
| 24 | + - '**/Configurations/**' |
| 25 | + - '**/Data/**' |
| 26 | + - '**/Enums/**' |
| 27 | + - '**/Mappings/**' |
| 28 | + - '**/Migrations/**' |
| 29 | + - '**/Models/**' |
| 30 | + - '**/Properties/**' |
| 31 | + - '**/Repositories/**' |
| 32 | + - '**/Utilities/**' |
| 33 | + - '**/Validators/**' |
| 34 | + - 'test/**/*' |
| 35 | + - 'scripts/**/*' |
0 commit comments