From 37c720250e9103762430fca2543251ee7cbaed53 Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Sat, 13 Jan 2024 17:07:40 +0100 Subject: [PATCH] eslint-plugin-vue --- .eslintrc | 11 +- app/components/ltFilesSelector.vue | 48 ++-- app/components/ltLanguageSelector.vue | 4 +- app/components/ltNavbar.vue | 6 +- app/components/ltUserInfo.vue | 6 +- app/index.ts | 18 +- package.json | 4 + yarn.lock | 340 ++++++++++++++++++++++++-- 8 files changed, 379 insertions(+), 58 deletions(-) diff --git a/.eslintrc b/.eslintrc index 44171d9..e439c41 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,6 +1,11 @@ { "root": true, - "parser": "@typescript-eslint/parser", - "plugins": ["@typescript-eslint"], - "extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"] + "extends": [ + "eslint:recommended", + "plugin:@typescript-eslint/recommended", + "plugin:vue/vue3-essential", + "plugin:vue/vue3-recommended", + "@vue/prettier", + "@vue/typescript" + ] } diff --git a/app/components/ltFilesSelector.vue b/app/components/ltFilesSelector.vue index 2c8a3c5..55a382e 100644 --- a/app/components/ltFilesSelector.vue +++ b/app/components/ltFilesSelector.vue @@ -1,5 +1,5 @@