fix vue-plugin for eslint -> it doesn't like the html plugin, fix eslint errors

This commit is contained in:
Anton Schubert 2017-08-30 13:35:24 +02:00
parent 311e911523
commit 6cd58726c5
9 changed files with 237 additions and 242 deletions

View File

@ -9,9 +9,6 @@
"browser": true,
"es6": true
},
"plugins": [
"html",
],
extends: [
"eslint:recommended",
"plugin:vue/recommended"

View File

@ -20,7 +20,6 @@
"css-loader": "^0.28.5",
"eslint": "^4.5.0",
"eslint-loader": "^1.9.0",
"eslint-plugin-html": "^3.2.0",
"eslint-plugin-vue": "^3.12.0",
"less": "^2.7.2",
"less-loader": "^4.0.5",

View File

@ -38,7 +38,7 @@
<!-- Row actions -->
<div class="table_cell cell_settings" v-if="actions.length" ref="row_actions">
<ul class="actions_container">
<li v-for="(a, i) in actions" :title="a.title" @click="a.action(row)">
<li v-for="(a, i) in actions" :title="a.title" @click="a.action(row)" :key="i">
<i :class="['icon', a.icon]"></i>
</li>
</ul>
@ -52,7 +52,7 @@
</template>
<script>
export default {
export default {
name: 'My-Table',
props: {
actions: {
@ -111,7 +111,7 @@
parent.classList.toggle("open");
}
}
}
}
</script>
<style lang="less">

View File

@ -110,7 +110,7 @@ export default {
}
},
methods: {
visibilityChanged(isVisible, entry) {
visibilityChanged(isVisible) {
if (isVisible) {
// infinite scrolling
this.reloadTriggered = false;

View File

@ -14,7 +14,6 @@
<label for="">Permalink</label>
<div class="input_description">Hier steht ein Beschreibungstext für etwas begriffsstutzige Menschen, die eine Beschreibung zum Befüllen des Feldes brauchen.</div>
</header>
<input type="text" value="" name="" placeholder="Permalink">
</div>

View File

@ -2,7 +2,7 @@
<div id="login_form">
<div class="holder">
<div class="logo">
<img src="assets/images/cms_logo_white.png" valid-v-on:foo="bar" alt="">
<img src="assets/images/cms_logo_white.png" alt="">
</div>
<div class="content">