Permit, and prefer, "The Backstage Authors" in the copyright header

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2021-06-18 10:35:47 +02:00
parent 820de63018
commit 93529a5f11
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -25,6 +25,12 @@ module.exports = {
{
// eslint-disable-next-line no-restricted-syntax
templateFile: path.resolve(__dirname, './scripts/copyright-header.txt'),
templateVars: {
NAME: 'The Backstage Authors',
},
varRegexps: {
NAME: /(The Backstage Authors)|(Spotify AB)/,
},
onNonMatchingHeader: 'replace',
},
],
+1 -1
View File
@@ -1,5 +1,5 @@
/*
* Copyright <%= YEAR %> Spotify AB
* Copyright <%= YEAR %> <%= NAME %>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.