You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a feature suggestion to add ability to define different rule properties for specific files, let say something like:
<ruleref="MyRule.Ref">
<include-pattern>./src</include-pattern>
<properties>
<propertyname="indent"value="4">
</properties>
</rule>
<ruleref="MyRule.Ref"> <!-- the same rule -->
<include pattern>./other</include-pattern> <!-- different files -->
<properties>
<propertyname="indent"value="2"> <!-- here different value -->
</properties>
</rule>
Not sure what should be the format, maybe we can do it another way... Or maybe it is already possible to do something like that, but I am not aware of it?
What do you think? If you like that idea maybe I would be able to work on it in some near future ;-)
The text was updated successfully, but these errors were encountered:
Format-wise, I think we'd need a way to still allow a property to be set globally for a rule, while also allowing file-specific deviations. Maybe something along the lines of the below ?
I have a feature suggestion to add ability to define different rule properties for specific files, let say something like:
Not sure what should be the format, maybe we can do it another way... Or maybe it is already possible to do something like that, but I am not aware of it?
What do you think? If you like that idea maybe I would be able to work on it in some near future ;-)
The text was updated successfully, but these errors were encountered: