I have yet to work anywhere where there was consensus on coding style. The fact that formatters like Prettier exist also tell you this isn’t a unique problem. I’d like to over one such convention that I think could use a revisit: nested ternaries.
Of all CSS properties,
z-index may be the most frustrating to deal with on a site featuring multiple, separately maintained stylesheets. Fixed UI and intentionally disruptive page components demand the foreground.
z-index is the quickest way to lay claim to what the user will see.