Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create empty preset #282

Merged
merged 1 commit into from
Jul 9, 2024
Merged

Create empty preset #282

merged 1 commit into from
Jul 9, 2024

Conversation

imanghafoori1
Copy link
Contributor

@imanghafoori1 imanghafoori1 commented Jul 9, 2024

For a dirty big project, it is not possible to reformat all at once, but rather we need to apply rule by rule and make small PRs that are easy to review and merge.
Currently, I find no way to apply only a single rule on the project and avoid all the other rules.
This way we incrementally add rules to the pint.json in each PR and apply the modification on the entire project.

{
  "preset": "empty",
  "rules": {
     "no_empty_comment": true
  }
}

@taylorotwell taylorotwell merged commit 3c477bb into laravel:main Jul 9, 2024
8 checks passed
@imanghafoori1 imanghafoori1 deleted the patch-1 branch July 9, 2024 14:08
@driesvints
Copy link
Member

Thanks @imanghafoori1. Can you also PR the docs?

@imanghafoori1
Copy link
Contributor Author

@driesvints Sure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants