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> <div>
<h1>The Dog</h1> <h1>The Dog</h1>
<Byline author="Meow Meow Fuzzyface" /> <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"> <p class="caption">
Woooooooooooof Woooooooooooof
</p> </p>

View File

@ -2,7 +2,8 @@
<div> <div>
<h1>The Cat</h1> <h1>The Cat</h1>
<Byline author="Dan Zajdband" /> <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"> <p class="caption">
Meowwwwwwww Meowwwwwwww
</p> </p>

View File

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