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, "browser": true,
"es6": true "es6": true
}, },
"plugins": [
"html",
],
extends: [ extends: [
"eslint:recommended", "eslint:recommended",
"plugin:vue/recommended" "plugin:vue/recommended"

View File

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

View File

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

View File

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

View File

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

View File

@ -2,7 +2,7 @@
<div id="login_form"> <div id="login_form">
<div class="holder"> <div class="holder">
<div class="logo"> <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>
<div class="content"> <div class="content">