From 62d57a37c94705a892edf6312281b6e5a3bfaf95 Mon Sep 17 00:00:00 2001 From: Drew Reed Date: Mon, 5 Jun 2023 12:59:12 +0000 Subject: [PATCH] ci: Change the expected copyright header format Following guidance from the Open Source Office the headercheck tool has been updated to expect the new recommended header format but it must be configured to use it. This change adds that configuration option and change the header format on the changed file only as recommended. Signed-off-by: Drew Reed --- .codeclimate.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.codeclimate.yml b/.codeclimate.yml index 32f11c2..87cb2ed 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -1,4 +1,5 @@ -# Copyright (c) 2022-2023 Arm Limited or its affiliates. All rights reserved. +# SPDX-FileCopyrightText: Copyright 2022-2023 Arm Limited and/or its +# affiliates # # SPDX-License-Identifier: MIT --- @@ -66,6 +67,7 @@ plugins: - ".eslintrc.yml" headercheck: enabled: true + format_rule: format-1 original_works_licenses: - "MIT" external_works_licenses: @@ -73,20 +75,20 @@ plugins: exclude_patterns: - GITIGNORE_CONTENTS - "/layers/" + - "/CHANGELOG.md" + - ".rubocop.yml" + - ".eslintignore" + - ".eslintrc.yml" + - ".csslintrc" + - "coffeelint.json" - "global_variables.env" - "meta-cassini-config/qa-checks/cassini-dictionary" - "/LICENSE.rst" - - "/CHANGELOG.md" - "*.git" - - "*.gitignore" + - ".gitignore" - "*.pyc" - "*.png" - "*.cfg" - "*.css" - "*.scc" - "*.patch" - - ".rubocop.yml" - - ".eslintignore" - - ".eslintrc.yml" - - ".csslintrc" - - "coffeelint.json" -- GitLab