From 3dd6b5ae1c6d4f1fa5c41edf308484cb14021040 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Fri, 25 Feb 2022 11:07:17 +0100 Subject: [PATCH] Add regex to license check --- LICENSE.HEADER | 2 +- license-checker-config.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/LICENSE.HEADER b/LICENSE.HEADER index 0b28792..f96e2e1 100644 --- a/LICENSE.HEADER +++ b/LICENSE.HEADER @@ -1,4 +1,4 @@ -Copyright 2021 Yarmo Mackenbach +Copyright ##[0-9]{4}## ##[a-zA-Z0-9\s]+## Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/license-checker-config.json b/license-checker-config.json index e70c471..43ac435 100644 --- a/license-checker-config.json +++ b/license-checker-config.json @@ -7,5 +7,6 @@ "prepend": "# " } } - } + }, + "regexIdentifier": "##" }