Skip to content

Commit 0c3ada7

Browse files
iSazonovdaxian-dbw
authored andcommitted
Update CONTRIBUTION.md about adding an empty line after the copyright header (#7706)
1 parent 2edbe70 commit 0c3ada7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/CONTRIBUTING.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,16 +151,20 @@ Additional references:
151151
(See [Contributing to documentation related to PowerShell](#contributing-to-documentation-related-to-powershell) for more info.)
152152
* If your change adds a new source file, ensure the appropriate copyright and license headers is on top.
153153
It is standard practice to have both a copyright and license notice for each source file.
154-
* For `.h`, `.cpp`, and `.cs` files use:
154+
* For `.h`, `.cpp`, and `.cs` files use the copyright header with empty line after it:
155155

156+
```c#
156157
// Copyright (c) Microsoft Corporation. All rights reserved.
157158
// Licensed under the MIT License.
159+
<Add empty line here>
160+
```
158161

159-
* For `.ps1` and `.psm1` files use:
162+
* For `.ps1` and `.psm1` files use the copyright header with empty line after it:
160163

161164
```powershell
162165
# Copyright (c) Microsoft Corporation. All rights reserved.
163166
# Licensed under the MIT License.
167+
<Add empty line here>
164168
```
165169

166170
* If your change adds a new module manifest (.psd1 file), ensure that:

0 commit comments

Comments
 (0)