coding-standard
coding-standard copied to clipboard
Feature Request: Add Configuration Support for Custom Rulesets
Feature Request: Support for Custom Configuration of Rules
Currently, the symplify/coding-standard package operates with the built-in SetList::SYMPLIFY, which is great for a standard coding practice. However, it would be beneficial to allow users to define their custom rulesets or configurations within the ecs.php file.
Proposed Changes:
- Introduce an API or configuration option to allow users to specify their own set of rules alongside or instead of the default set. This could be done by allowing users to create their custom class extending
ECSConfigwhere they can define their preferences. - Documentation updates reflecting these changes, including examples on how to define custom rulesets and how they can be combined with existing ones.
Benefits:
- Provides flexibility for teams with specific coding standards without modifying the underlying library.
- Encourages wider adoption of the package in organizations with unique coding requirements.
This feature enhancement would significantly improve the usability of the symplify/coding-standard package, making it more appealing to a broader audience.
Hi, thanks for proposal. In simple example, how would it look liek in ECS config? How would the registration of such set would look like?