web-component-analyzer icon indicating copy to clipboard operation
web-component-analyzer copied to clipboard

Sort JSON output for CSS custom properties alphabetically

Open web-padawan opened this issue 4 years ago • 1 comments

There is a small room for improvement after #111 has been merged: as of now, custom CSS properties are in the reverse order (compared to how they are annotated in JSDOc).

I would recommend to either keep the original order or sort alphabetically, as the issue says.

web-padawan avatar Oct 29 '19 14:10 web-padawan

Do you think all arrays should be sorted alphabetically (attributes, properties, events, slots and cssProperties) or only CSS custom properties? In that case I'll make sure to sort them all.

runem avatar Nov 02 '19 14:11 runem