diff --git a/.eslintrc.cjs b/.eslintrc.cjs index d23d0b469e..89d1309057 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -45,7 +45,10 @@ module.exports = { 2, 'block', [ - ' SPDX-FileCopyrightText: 2024 Greenbone AG', + { + pattern: ' SPDX-FileCopyrightText: \\d{4} Greenbone AG', + template: ' SPDX-FileCopyrightText: 2024 Greenbone AG', + }, ' *', ' * SPDX-License-Identifier: AGPL-3.0-or-later', ' ',