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

Disable styling checks #680

Open
kirkbushell opened this issue May 21, 2024 · 0 comments
Open

Disable styling checks #680

kirkbushell opened this issue May 21, 2024 · 0 comments

Comments

@kirkbushell
Copy link

Q A
Bug report? no
Feature request? yes
Library version 2.11.0

Would be great to be able to disable each of the broad-category checks that PHPInsights does, such as styling. We use Laravel pint, so we don't need to double-up on styling (this is also a central part of our git-commit pipeline - it automatically applies any fixes required before the code reaches the repository).

I have not yet found a way how to disable this completely. We do however, want to keep insights for the rest, as we've found it very useful, and intend on using it as part of our github actions deployment checks, but currently due to it highlighting style issues that are not in alignment with our Pint configuration, this becomes quite difficult.

Alternatively, have phpinsights read from the pint configuration file and configure it's own styling checks that way.

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

No branches or pull requests

1 participant