From 0fef8539f4deedfde2f4c5d7563f8219b44683f1 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 30 Oct 2025 22:57:19 +0000 Subject: [PATCH] Fix LayoutLocalAssets rule to only check CSS and JS files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../LayoutLocalAssets_CodeQualityRule.php | 23 ++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/app/RSpade/CodeQuality/Rules/Blade/LayoutLocalAssets_CodeQualityRule.php b/app/RSpade/CodeQuality/Rules/Blade/LayoutLocalAssets_CodeQualityRule.php index dc31c3e32..4384f6bb8 100755 --- a/app/RSpade/CodeQuality/Rules/Blade/LayoutLocalAssets_CodeQualityRule.php +++ b/app/RSpade/CodeQuality/Rules/Blade/LayoutLocalAssets_CodeQualityRule.php @@ -18,7 +18,7 @@ class LayoutLocalAssets_CodeQualityRule extends CodeQualityRule_Abstract public function get_description(): string { - return 'Enforces that local assets in layout files are included via bundle definitions, not hardcoded link/script tags'; + return 'Enforces that local CSS and JavaScript files in layout files are included via bundle definitions, not hardcoded or