From 40eef282d41a409727dbad0c167ac9ea79f3f51a Mon Sep 17 00:00:00 2001 From: 2400060033 Date: Fri, 28 Nov 2025 00:00:53 +0530 Subject: [PATCH] chore(config): fix license header configuration and cleanup patterns Fixes and cleans the license header configuration: - Normalize dotfile/Dockerfile selector - Improve ignore patterns for JS and CSS - Ensure valid JSON structure and formatting - Remove unnecessary regex anchors This update provides consistent behavior across file types and ensures license headers are applied correctly. --- tools/l_checker_config.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/l_checker_config.json b/tools/l_checker_config.json index 0572f11f13..76c9878dee 100644 --- a/tools/l_checker_config.json +++ b/tools/l_checker_config.json @@ -1,6 +1,8 @@ { "ignore": [ - "**/!(*.js|*.css)", "**/assets/**", "**/lib/**", + "**/!(*.js|*.css)", + "**/assets/**", + "**/lib/**", "eslint.config.js" ], "license": "doc/license_header.txt", @@ -12,7 +14,7 @@ "prepend": " * " } }, - "dotfile|^Dockerfile": { + "dotfile|Dockerfile": { "eachLine": { "prepend": "# " } @@ -27,3 +29,4 @@ }, "trailingWhitespace": "TRIM" } +