[improvement] update eslint rules (#2089)

This commit is contained in:
neverland
2018-11-15 15:30:17 +08:00
committed by GitHub
parent 0860901ec1
commit e14b43e66a
129 changed files with 1874 additions and 456 deletions
+5 -1
View File
@@ -1,7 +1,11 @@
<template>
<demo-section>
<demo-block :title="$t('title')">
<van-col span="8" v-for="icon in icons" :key="icon">
<van-col
v-for="icon in icons"
:key="icon"
span="8"
>
<van-icon :name="icon" />
<span>{{ icon }}</span>
</van-col>
+5 -1
View File
@@ -1,5 +1,9 @@
<template>
<i :class="[classPrefix, `${classPrefix}-${name}`]" :style="style" v-on="$listeners">
<i
v-on="$listeners"
:class="[classPrefix, `${classPrefix}-${name}`]"
:style="style"
>
<slot />
<van-info :info="info" />
</i>