From adf4c52344cf6f0ea16d1f01410258648c9f5356 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 29 Jul 2022 14:54:04 +0800
Subject: [PATCH] 函数形参不使用报错的问题
---
.eslintrc.js | 31 ++++++++++++++++---------------
1 files changed, 16 insertions(+), 15 deletions(-)
diff --git a/.eslintrc.js b/.eslintrc.js
index 20034fd..a4029fc 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -1,17 +1,18 @@
module.exports = {
- root: true,
- env: {
- node: true
- },
- 'extends': [
- 'plugin:vue/essential',
- 'eslint:recommended'
- ],
- rules: {
- 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
- 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
- },
- parserOptions: {
- parser: 'babel-eslint'
- }
+ root: true,
+ env: {
+ node: true
+ },
+ 'extends': [
+ 'plugin:vue/essential',
+ 'eslint:recommended'
+ ],
+ rules: {
+ 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
+ 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
+ "no-unused-vars": "off"
+ },
+ parserOptions: {
+ parser: 'babel-eslint'
+ }
}
\ No newline at end of file
--
Gitblit v1.9.3