Skip to content

Commit 388e7e5

Browse files
authored
Just use Pint to lint (alexjustesen#2423)
Co-authored-by: Alex Justesen <[email protected]>
1 parent 0e13783 commit 388e7e5

File tree

5 files changed

+19
-94
lines changed

5 files changed

+19
-94
lines changed

.github/copilot-instructions.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -399,12 +399,4 @@ it('has emails', function (string $email) {
399399
400400
- Every change must be programmatically tested. Write a new test or update an existing test, then run the affected tests to make sure they pass.
401401
- Run the minimum number of tests needed to ensure code quality and speed. Use `php artisan test` with a specific filename or filter.
402-
403-
404-
=== tightenco/duster rules ===
405-
406-
## Duster Code Formatter
407-
408-
- You must run `vendor/bin/duster fix --dirty` before finalizing changes to ensure your code matches the project's expected style.
409-
- Duster wraps Laravel Pint and other formatters, so never run Pint directly. Always prefer Duster for formatting tasks.
410402
</laravel-boost-guidelines>

.github/workflows/ci.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,24 @@ jobs:
1616
- name: Checkout
1717
uses: actions/checkout@v5
1818

19-
- name: "duster"
20-
uses: tighten/duster-action@v3
19+
- name: Setup PHP
20+
uses: shivammathur/setup-php@v2
21+
with:
22+
php-version: '8.4'
23+
24+
- name: Cache Composer dependencies
25+
uses: actions/cache@v4
2126
with:
22-
args: lint --using=pint -v
27+
path: vendor
28+
key: composer-${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
29+
restore-keys: |
30+
composer-${{ runner.os }}-
31+
32+
- name: Install Dependencies
33+
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
34+
35+
- name: Run Pint
36+
run: vendor/bin/pint --test
2337

2438
test-mariadb-11:
2539
needs: lint-app

CLAUDE.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ This application is a Laravel application and its main Laravel ecosystems packag
3434
- Stick to existing directory structure - don't create new base folders without approval.
3535
- Do not change the application's dependencies without approval.
3636

37-
## Localization
38-
- Only create or update language files in the `lang/en` directory. Do not create or modify language files for other locales.
39-
- All translation strings should be added only to the English language files.
40-
4137
## Frontend Bundling
4238
- If the user doesn't see a frontend change reflected in the UI, it could mean they need to run `npm run build`, `npm run dev`, or `composer run dev`. Ask them.
4339

@@ -403,12 +399,4 @@ it('has emails', function (string $email) {
403399
404400
- Every change must be programmatically tested. Write a new test or update an existing test, then run the affected tests to make sure they pass.
405401
- Run the minimum number of tests needed to ensure code quality and speed. Use `php artisan test` with a specific filename or filter.
406-
407-
408-
=== tightenco/duster rules ===
409-
410-
## Duster Code Formatter
411-
412-
- You must run `vendor/bin/duster fix --dirty` before finalizing changes to ensure your code matches the project's expected style.
413-
- Duster wraps Laravel Pint and other formatters, so never run Pint directly. Always prefer Duster for formatting tasks.
414402
</laravel-boost-guidelines>

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@
4747
"nunomaduro/collision": "^8.8.2",
4848
"pestphp/pest": "^3.8.4",
4949
"pestphp/pest-plugin-laravel": "^3.2",
50-
"spatie/laravel-ignition": "^2.9.1",
51-
"tightenco/duster": "^3.3.0"
50+
"spatie/laravel-ignition": "^2.9.1"
5251
},
5352
"autoload": {
5453
"files": [

composer.lock

Lines changed: 1 addition & 69 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)