From 02c469b17a02ca870b4204b230fc3b4272296a56 Mon Sep 17 00:00:00 2001
From: Tanimodori <unknowner2014@gmail.com>
Date: 星期日, 19 六月 2022 17:51:28 +0800
Subject: [PATCH] types: 再次修复RouteLocationRawEx类型错误 (vbenjs#1968) (#1975)

---
 .eslintrc.js |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/.eslintrc.js b/.eslintrc.js
index ffad1d0..9aa3e10 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -1,6 +1,4 @@
-// @ts-check
-const { defineConfig } = require('eslint-define-config');
-module.exports = defineConfig({
+module.exports = {
   root: true,
   env: {
     browser: true,
@@ -20,9 +18,7 @@
   extends: [
     'plugin:vue/vue3-recommended',
     'plugin:@typescript-eslint/recommended',
-    'prettier',
     'plugin:prettier/recommended',
-    'plugin:jest/recommended',
   ],
   rules: {
     'vue/script-setup-uses-vars': 'error',
@@ -62,6 +58,7 @@
     'vue/singleline-html-element-content-newline': 'off',
     'vue/attribute-hyphenation': 'off',
     'vue/require-default-prop': 'off',
+    'vue/require-explicit-emits': 'off',
     'vue/html-self-closing': [
       'error',
       {
@@ -74,6 +71,6 @@
         math: 'always',
       },
     ],
-		'vue/multi-word-component-names': 'off'
+    'vue/multi-word-component-names': 'off',
   },
-});
+};

--
Gitblit v1.8.0