Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
drewbie58615dI would keep class on the <i line, and then indent the aria and click one time. Then put the ending </i> on the (click) line.
asgs858815dAren't there tools to reformat the code as part of precommit hooks or a build step to enforce this?
neeno218715dI do basically the same, but I indent the attributes.
theabbie290615dThis is good formatting for XML as they are for storing data and this makes it Readable, for HTML it's not very useful.
Are you sure you have set correct formatting mode?
5enchriu132dUsing react and jsx its a pretty meaningful indentation