-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Feature - define arrays in ruleset #1665
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
Feature - define arrays in ruleset #1665
Conversation
A change to the format like this would need to be postponed until a 4.0, but I think it is a good idea. |
@gsherwood With this PR I have not removed previous version of defining array, both are working fine. |
I would prefer one method and one set of docs for how to use it. |
I kind of like the idea of having a change-over period available for such a big change in how array property values are passed (even if the new method would not be documented in the wiki until the 4.x release). |
01ad4b6
to
6d5f875
Compare
@gsherwood Any chance to have it in 3.x release? This PR just add new ability to define array values which is more clear. I see similar change has been made in 3.x release with "@codingstandards" comments - deprecated old notation and introduced the new one. |
This has now been merged in and will be in 3.3.0. The old syntax is now deprecated and will be removed in version 4. Docs were updated. Thanks for this PR - it's a much better syntax. I did change the way the debug info prints though because a |
Currently if we want override array property in ruleset we have to do:
It's fine as long as the array content is short.
With this feature the new method to define arrays in the ruleset is introduced: