Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -681,4 +681,18 @@ dotnet_analyzer_diagnostic.severity = none
insert_final_newline = false

[test/**/{Approvals,Snapshots}/**]
trim_trailing_whitespace = false
trim_trailing_whitespace = false

# Build Checks
[*.{csproj,vbproj,proj,nativeproj,locproj}]
build_check.BC0101.Severity=suggestion
build_check.BC0102.Severity=suggestion
build_check.BC0103.Severity=suggestion
build_check.BC0104.Severity=suggestion
build_check.BC0105.Severity=suggestion
build_check.BC0106.Severity=suggestion
build_check.BC0107.Severity=suggestion
build_check.BC0201.Severity=suggestion
build_check.BC0202.Severity=suggestion
build_check.BC0203.Severity=suggestion

1 change: 1 addition & 0 deletions eng/common/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ function Build {
MSBuild $toolsetBuildProj `
$bl `
$platformArg `
/check `
/p:Configuration=$configuration `
/p:RepoRoot=$RepoRoot `
/p:Restore=$restore `
Expand Down
1 change: 1 addition & 0 deletions eng/common/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ function Build {

MSBuild $_InitializeToolset \
$bl \
/check \
/p:Configuration=$configuration \
/p:RepoRoot="$repo_root" \
/p:Restore=$restore \
Expand Down
Loading