[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

View File

@@ -2,7 +2,10 @@
<demo-section>
<demo-block :title="$t('basicUsage')">
<van-cell-group>
<van-field v-model="value" :placeholder="$t('usernamePlaceholder')" />
<van-field
v-model="value"
:placeholder="$t('usernamePlaceholder')"
/>
</van-cell-group>
</demo-block>
@@ -78,7 +81,13 @@
:label="$t('sms')"
:placeholder="$t('smsPlaceholder')"
>
<van-button slot="button" size="small" type="primary">{{ $t('sendSMS') }}</van-button>
<van-button
slot="button"
size="small"
type="primary"
>
{{ $t('sendSMS') }}
</van-button>
</van-field>
</van-cell-group>
</demo-block>