From 7ab27f02308356257b88d1654a3da07ec91083a3 Mon Sep 17 00:00:00 2001 From: Leo Balter Date: Tue, 7 Feb 2017 11:26:43 -0500 Subject: [PATCH] Use root LICENSE file Automatically attribute the root BSD license to allow test files without a copyright headers. --- CONTRIBUTING.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a3230e9f7df..93d9b4720d2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -17,7 +17,7 @@ Take a look at these examples: A test file has three sections: Copyright, Frontmatter, and Body. A test looks roughly like this: ```javascript -// Copyright (C) 2015 [Contributor Name]. All rights reserved. +// Copyright (C) 2017 [Contributor Name]. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- @@ -34,6 +34,8 @@ A test file has three sections: Copyright, Frontmatter, and Body. A test looks The copyright block must be the first section of the test. The copyright block must use `//` style comments. +If the copyright is not provided, the file copyrights will follow the BSD license found in the [LICENSE](https://github.com/tc39/test262/blob/master/LICENSE) file. + ### Frontmatter The Test262 frontmatter is a string of [YAML](https://en.wikipedia.org/wiki/YAML) enclosed by the comment start tag `/*---` and end tag `---*/`. There must be exactly one Frontmatter per test.