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
We often struggle to read templates with a different number of props per line.
This rule would limit the maximum number of props on a single line can to improve readability.
There should also be the possibility to disable this rule when a tag has only one prop.
We often struggle to read templates with a different number of props per line.
This rule would limit the maximum number of props on a single line can to improve readability.
There should also be the possibility to disable this rule when a tag has only one prop.
Proposal
'vue/max-props-per-line': {max: Number, when: 'always|multiline'}
The default could be:
'vue/max-props-per-line': {max: 1, when: 'always'}
'vue/max-props-per-line': {max: 1, when: 'always'}
'vue/max-props-per-line': {max: 1, when: 'multiline'}
The text was updated successfully, but these errors were encountered: