Description:
I would like to request the ability to exclude a specific rule of Laravel Pint in a specified folder or file. This feature would allow other rules to be applied to the path, while the excluded rule is specified in the configuration.
Use Case:
Developers who need to adhere to different coding standards in specific parts of a project.
Projects that have legacy code or third-party integrations that should not be refactored to comply with certain rules.
Improving flexibility and control over the code quality and formatting rules applied to different parts of the project.
Proposed Solution:
Introduce a configuration option in pint.json or pint.yml that allows specifying exclusions for particular files or directories.
Implement a mechanism to override specific rules in designated paths while keeping other rules active.
Steps to Reproduce:
Configure Laravel Pint with a set of rules in pint.json.
Specify a folder or file where one of the rules should be excluded.
Run Laravel Pint and observe that all rules except the excluded one are applied to the specified path.
Description: I would like to request the ability to exclude a specific rule of Laravel Pint in a specified folder or file. This feature would allow other rules to be applied to the path, while the excluded rule is specified in the configuration.
Use Case:
Proposed Solution:
pint.json
orpint.yml
that allows specifying exclusions for particular files or directories.Steps to Reproduce:
pint.json
.Example Configuration:
Benefits: