Skip to content

Extending existing rules #7072

Answered by schalkms
jsmolinski-vivint asked this question in Q&A
Discussion options

You must be logged in to vote

I don't understand what you mean by outer- and inner-rule.

Nevertheless, the suggested approach is to copy the source code of LongParameterList as it is to a custom rule and modify the needed parts.

Just setting classes of built-in rules to open doesn't provide a remedy, because you also need to provide hooks for all possible parts needing to be customized. I don't think it's worth the effort.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@jsmolinski-vivint
Comment options

Answer selected by cortinico
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants