diff --git a/.licenseignore b/.licenseignore
index 2b6be69..dff8c55 100644
--- a/.licenseignore
+++ b/.licenseignore
@@ -1,30 +1,3 @@
-# Copyright (C) 2021 Yarmo Mackenbach
-#
-# This program is free software: you can redistribute it and/or modify it under
-# the terms of the GNU Affero General Public License as published by the Free
-# Software Foundation, either version 3 of the License, or (at your option)
-# any later version.
-#
-# This program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
-# details.
-#
-# You should have received a copy of the GNU Affero General Public License along
-# with this program. If not, see .
-#
-# Also add information on how to contact you by electronic and paper mail.
-#
-# If your software can interact with users remotely through a computer network,
-# you should also make sure that it provides a way for users to get its source.
-# For example, if your program is a web application, its interface could display
-# a "Source" link that leads users to an archive of the code. There are many
-# ways you could offer source, and different solutions will be better for different
-# programs; see section 13 for the specific requirements.
-#
-# You should also get your employer (if you work as a programmer) or school,
-# if any, to sign a "copyright disclaimer" for the program, if necessary. For
-# more information on this, and how to apply and follow the GNU AGPL, see .
**/\.git
**/*.md
@@ -33,10 +6,12 @@
**/*.env
**/*.pug
-\.drone\.yml
package.json
-package-lock.json
-yarn\.lock
-robots\.txt
+yarn.lock
+robots.txt
+\.licenseignore
+\.drone.yml
\.editorconfig
-Dockerfile
+\.envrc
+shell.nix
+Dockerfile
\ No newline at end of file
diff --git a/LICENSE.HEADER b/LICENSE.HEADER
index 8e21a7a..7c9dc11 100644
--- a/LICENSE.HEADER
+++ b/LICENSE.HEADER
@@ -1,4 +1,4 @@
-Copyright (C) 2021 Yarmo Mackenbach
+Copyright (C) ##[0-9]{4}## ##[a-zA-Z0-9\s]+##
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
diff --git a/license-checker-config.json b/license-checker-config.json
index 7a7cc84..b206b27 100644
--- a/license-checker-config.json
+++ b/license-checker-config.json
@@ -1,5 +1,5 @@
{
- "ignore": ".licenseignore",
+ "ignoreFile": ".licenseignore",
"license": "LICENSE.HEADER",
"licenseFormats": {
"php": {
@@ -9,10 +9,11 @@
"prepend": "// "
}
},
- "dotfile|licenseignore|gitignore|yml": {
+ "dotfile|yml": {
"eachLine": {
"prepend": "# "
}
}
- }
+ },
+ "regexIdentifier": "##"
}
diff --git a/package.json b/package.json
index d6d658b..7158bb1 100644
--- a/package.json
+++ b/package.json
@@ -21,7 +21,7 @@
"string-replace-middleware": "^1.0.2"
},
"devDependencies": {
- "license-check-and-add": "^3.0.4",
+ "license-check-and-add": "^4.0.3",
"nodemon": "^2.0.7"
},
"scripts": {
diff --git a/yarn.lock b/yarn.lock
index 91327cb..2962109 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2793,10 +2793,10 @@ libravatar@^3.0.0:
resolved "https://registry.npmjs.org/libravatar/-/libravatar-3.0.0.tgz"
integrity sha512-GAr2zj0toWHLMrVOkmn+TyudU9QX2kvHIxLZwmz7mT6Q6IrhVCAnN+3MFLAULf2w9XZe0NKOr5V5XRKgLRm5Eg==
-license-check-and-add@^3.0.4:
- version "3.0.5"
- resolved "https://registry.npmjs.org/license-check-and-add/-/license-check-and-add-3.0.5.tgz"
- integrity sha512-+mg2fBZanV/OGioub4EKvQyMaTjcsV+oSj85uQPdiBOtSVnn1CcL8d/sPvnmRyApdz7PXQMzM1H4QKqJsCJN3g==
+license-check-and-add@^4.0.3:
+ version "4.0.3"
+ resolved "https://registry.yarnpkg.com/license-check-and-add/-/license-check-and-add-4.0.3.tgz#c941288563da412c0dbdad2af3bea8485e4d0b62"
+ integrity sha512-2dFjAOviPmukS35Udy+D1fNnWeGbJaIfOM/fstsYlofnviyDJDSx1w++nStyxFffa2R9RIB0myH3Pvxv0q7jWA==
dependencies:
fs-extra "^8.1.0"
gitignore-to-glob "^0.3.0"