Hi everyone
I stumped across this Prettier Plugin and thought about adding the aurelia specific html attributes like if.bind
, repeat.for
etc to my existing aurelia repos using the attributeGroup property provided by the plugin. Or maybe as a preset plugin itself (there are already support for vue and angular)
For Example:
"attributeGroups": [
"^repeat.for$",
"^if.bind$",
"^click.delegate$",
"$DEFAULT",
"^data-cy"
]
Is there any best practices already defined about ordering of html attributes in aurelia? If not, how do you guys like the order of attributes?