See eslint config.
css-nextonly- One space behind
:,, - Indent by 2 spaces
;required- Color:
#aabbccor#abc, lower case - No id selector
- No
!important
Single file component with script, template and style in order.
Template:
<div
class="class"
:data="data"
@event="handler">
<span>{{ text }}</span>
</div>- Always use shorthand for
v-bind,v-on - Spaces in mustache
Style:
- ALWAYS use
scopedormoduleon component style
- Always use
alton an image - Do not use background for meaningful images
- Add
aria-label/aria-hiddenon meaningful/decorative icon