fix(eslint): amp tags not support pascal case

[skip release]
This commit is contained in:
Clark Du 2018-12-20 13:49:16 +00:00
parent add80004ba
commit 6a4808f576
3 changed files with 7 additions and 3 deletions

View File

@ -2,7 +2,8 @@
<div>
<h1>The Dog</h1>
<Byline author="Meow Meow Fuzzyface" />
<AmpImg src="/dog.jpg" width="470" height="350" layout="responsive" alt="Woof" />
<!-- eslint-disable-next-line vue/component-name-in-template-casing -->
<amp-img src="/dog.jpg" width="470" height="350" layout="responsive" alt="Woof" />
<p class="caption">
Woooooooooooof
</p>

View File

@ -2,7 +2,8 @@
<div>
<h1>The Cat</h1>
<Byline author="Dan Zajdband" />
<AmpImg src="/cat.jpg" width="470" height="350" layout="responsive" alt="Meow" />
<!-- eslint-disable-next-line vue/component-name-in-template-casing -->
<amp-img src="/cat.jpg" width="470" height="350" layout="responsive" alt="Meow" />
<p class="caption">
Meowwwwwwww
</p>

View File

@ -8,7 +8,9 @@
<br>
<h4>foo/bab/getBabVal: {{ getBabVal }}</h4>
<br>
<button @click="$store.commit('increment')">+1</button>
<button @click="$store.commit('increment')">
+1
</button>
</div>
</template>