From 26a2268436f28f64c4539d9aab9ebd0f0b7c99c5 Mon Sep 17 00:00:00 2001 From: Leo Balter Date: Mon, 15 Jul 2019 13:40:27 -0400 Subject: [PATCH] Update contributing file to describe current requirements for the copyright header --- CONTRIBUTING.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 167857a0aa..572041a885 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -66,7 +66,21 @@ assert.throws( ### Copyright -The copyright block must be the first section of the test. The copyright block must use `//` style comments. +The copyright block should be the first section of the test. The copyright block must use `//` style comments. + +The copyright should follow this format: + +```js +// Copyright (C) $Year $ContributorName. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. +``` + +Where + +- `$Year` must be a 4 digit single year. It should not be an year range. If it's extremely necessary to add multiple years, repeat line for each year. +- `$ContributorName` must be a legal (natural or juridical) person's name. + +The code must be a BSD or BSD-style compatible with the license of this project. Therefore, the line following the year and name parts should be written as in the example above. ### Frontmatter