Fix wrong eslint vue config being applied

Fix prettier warnings
This commit is contained in:
Kloon ImKloon 2023-08-07 15:14:57 +02:00
parent 4824ebc6e6
commit bfd488826d
No known key found for this signature in database
GPG Key ID: CCF1C86A995C5B6A
2 changed files with 8 additions and 4 deletions

View File

@ -56,7 +56,7 @@
"node": true "node": true
}, },
"extends": [ "extends": [
"plugin:vue/recommended", "plugin:vue/essential",
"eslint:recommended", "eslint:recommended",
"@vue/prettier" "@vue/prettier"
], ],
@ -66,10 +66,13 @@
"vue/no-mutating-props": "warn" "vue/no-mutating-props": "warn"
}, },
"parserOptions": { "parserOptions": {
"parser": "@babel/eslint-parser" "parser": "@babel/eslint-parser",
"ecmaVersion": "latest"
} }
}, },
"prettier": {}, "prettier": {
"trailingComma": "es5"
},
"postcss": { "postcss": {
"plugins": { "plugins": {
"autoprefixer": {} "autoprefixer": {}

View File

@ -1,7 +1,8 @@
<template> <template>
<div> <div>
<header-bar showMenu showLogo> <header-bar showMenu showLogo>
<search /> <title /> <search />
<title />
<action <action
class="search-button" class="search-button"
icon="search" icon="search"