NiklasPor / prettier-plugin-organize-attributes

Organize your HTML attributes automatically with Prettier 🧼
MIT License
197 stars 12 forks source link

Option to ignore angular "prefixes" #25

Open SebastianStehle opened 3 months ago

SebastianStehle commented 3 months ago

Hi,

we can write angular inputs now as simple attributes, e.g.

<app-user canDelete="true">

instead of

<app-user [canDelete]="true">

But because of the sorting attributes that belong together (just by name) are separated apart. Therefore it would be great to have an option to just ingore the "Prefixes" like [, (, *