refactor: minor changes to support eslint-plugin-vue 8

This commit is contained in:
Fabio Di Stasio 2021-11-02 21:51:53 +01:00
parent f71ed39b88
commit cacab55f55
4 changed files with 9 additions and 7 deletions

View File

@ -45,6 +45,7 @@
"no-console": "off",
"no-undef": "off",
"vue/no-side-effects-in-computed-properties": "off",
"vue/multi-word-component-names": "off",
"vue/require-default-prop": "off",
"vue/comment-directive": "off",
"vue/no-v-html": "off",
@ -61,10 +62,11 @@
"vue/max-attributes-per-line": [
"error",
{
"singleline": 2,
"singleline": {
"max": 2
},
"multiline": {
"max": 1,
"allowFirstLine": false
"max": 1
}
}
]

View File

@ -2,7 +2,7 @@
"name": "antares",
"productName": "Antares",
"version": "0.3.8",
"description": "A cross-platform easy to use SQL client.",
"description": "A modern, fast and productivity driven SQL client with a focus in UX.",
"license": "MIT",
"repository": "https://github.com/Fabio286/antares.git",
"scripts": {
@ -160,4 +160,4 @@
"webpack-cli": "^4.9.1",
"webpack-dev-server": "^3.11.2"
}
}
}

View File

@ -89,7 +89,7 @@
:type="inputProps().type"
:disabled="!isChecked"
>
<template v-if="methodData && 'params' in methodData" class="columns">
<template v-if="methodData && 'params' in methodData">
<input
v-for="(option, key) in methodData.params"
:key="key"

View File

@ -62,7 +62,7 @@
v-if="resultsWithRows[resultsetIndex] && resultsWithRows[resultsetIndex].rows"
ref="resultTable"
:items="sortedResults"
:item-height="22"
:item-height="23"
class="tbody"
:visible-height="resultsSize"
:scroll-element="scrollElement"