diff --git a/.editorconfig b/.editorconfig index 63cdbe40a..5bc89604c 100644 --- a/.editorconfig +++ b/.editorconfig @@ -13,6 +13,12 @@ trim_trailing_whitespace = true [*.{cs,cshtml,htm,html,md,py,sln,xml}] indent_size = 4 +############################### +# Copyright header # +############################### +[*.cs] +file_header_template = Copyright The OpenTelemetry Authors\nSPDX-License-Identifier: Apache-2.0 + ############################### # .NET Coding Conventions # ###############################