From 626af9766800ab5549df7f194110ee706947260a Mon Sep 17 00:00:00 2001 From: laserhybiz <100562257+laserhybiz@users.noreply.github.com> Date: Wed, 27 Aug 2025 13:08:20 +0300 Subject: [PATCH 1/4] add eslint and prettier rules --- .ai/eslint/core.blade.php | 4 ++++ .ai/prettier/core.blade.php | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 .ai/eslint/core.blade.php create mode 100644 .ai/prettier/core.blade.php diff --git a/.ai/eslint/core.blade.php b/.ai/eslint/core.blade.php new file mode 100644 index 00000000..60550d30 --- /dev/null +++ b/.ai/eslint/core.blade.php @@ -0,0 +1,4 @@ +## ESLint Code Linter + +- You must run `npx eslint --fix .` before finalizing changes to ensure your code adheres to the project's coding standards. +- Ensure that your code passes all ESLint checks without errors or warnings. diff --git a/.ai/prettier/core.blade.php b/.ai/prettier/core.blade.php new file mode 100644 index 00000000..f5c02458 --- /dev/null +++ b/.ai/prettier/core.blade.php @@ -0,0 +1,3 @@ +## Prettier Code Formatter + +- You must run `npx prettier --write .` before finalizing any code changes to ensure consistent code formatting. From c20e2a034c993e8cc233b60bab241124b50d1e59 Mon Sep 17 00:00:00 2001 From: laserhybiz <100562257+laserhybiz@users.noreply.github.com> Date: Wed, 27 Aug 2025 13:10:56 +0300 Subject: [PATCH 2/4] update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index f8951cbc..40bb24b5 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ "illuminate/contracts": "^10.0|^11.0|^12.0", "illuminate/routing": "^10.0|^11.0|^12.0", "illuminate/support": "^10.0|^11.0|^12.0", - "laravel/mcp": "^0.1.1", + "laravel/mcp": "^0.2.4", "laravel/prompts": "^0.1.9|^0.3", "laravel/roster": "^0.2" }, From b72079f3ce0f19a3152c8492ebbd0dcb56ae4745 Mon Sep 17 00:00:00 2001 From: laserhybiz <100562257+laserhybiz@users.noreply.github.com> Date: Wed, 27 Aug 2025 13:13:40 +0300 Subject: [PATCH 3/4] update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 7bef91a7..026c3e25 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,7 @@ Laravel Boost includes AI guidelines for the following packages and frameworks. | Core & Boost | core | | Laravel Framework | core, 10.x, 11.x, 12.x | | Livewire | core, 2.x, 3.x | +| ESLint | core | | Filament | core, 4.x | | Flux UI | core, free, pro | | Herd | core | @@ -73,6 +74,7 @@ Laravel Boost includes AI guidelines for the following packages and frameworks. | Pest | core, 4.x | | PHPUnit | core | | Pint | core | +| Prettier | core | | Tailwind CSS | core, 3.x, 4.x | | Livewire Volt | core | | Laravel Folio | core | From beaeb3c8ed0abcbe6aaa98c381bdae9d8811443e Mon Sep 17 00:00:00 2001 From: laserhybiz <100562257+laserhybiz@users.noreply.github.com> Date: Wed, 27 Aug 2025 13:16:38 +0300 Subject: [PATCH 4/4] fix --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 40bb24b5..d77918b1 100644 --- a/composer.json +++ b/composer.json @@ -19,9 +19,9 @@ "illuminate/contracts": "^10.0|^11.0|^12.0", "illuminate/routing": "^10.0|^11.0|^12.0", "illuminate/support": "^10.0|^11.0|^12.0", - "laravel/mcp": "^0.2.4", + "laravel/mcp": "^0.1.1", "laravel/prompts": "^0.1.9|^0.3", - "laravel/roster": "^0.2" + "laravel/roster": "^0.2.4" }, "require-dev": { "laravel/pint": "^1.14",