[repo] Add copyright header template to .editorconfig (#5206)

This commit is contained in:
Mikel Blanchard 2024-01-09 16:50:09 -08:00 committed by GitHub
parent aaae273d81
commit d0620e6f0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -13,6 +13,12 @@ trim_trailing_whitespace = true
[*.{cs,cshtml,htm,html,md,py,sln,xml}] [*.{cs,cshtml,htm,html,md,py,sln,xml}]
indent_size = 4 indent_size = 4
###############################
# Copyright header #
###############################
[*.cs]
file_header_template = Copyright The OpenTelemetry Authors\nSPDX-License-Identifier: Apache-2.0
############################### ###############################
# .NET Coding Conventions # # .NET Coding Conventions #
############################### ###############################