Skip to content
This repository was archived by the owner on Jul 12, 2022. It is now read-only.

Commit cb69e25

Browse files
author
Immo Landwerth
committed
Update copyright header to match LCA guidelines
1 parent e3041f2 commit cb69e25

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/Microsoft.DotNet.CodeFormatting/Rules/HasCopyrightHeaderFormattingRule.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@ internal sealed class HasCopyrightHeaderFormattingRule : IFormattingRule
1717
{
1818
static readonly string[] CopyrightHeader =
1919
{
20-
"// Copyright (c) Microsoft Corporation. All rights reserved.",
21-
"// Licensed under MIT. See LICENSE in the project root for license information."
20+
"// Copyright (c) Microsoft. All rights reserved.",
21+
"// This code is licensed under the MIT License.",
22+
"// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR",
23+
"// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,",
24+
"// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT."
2225
};
2326

2427
public async Task<Document> ProcessAsync(Document document, CancellationToken cancellationToken)

0 commit comments

Comments
 (0)