From b2fabc9000f78b0587a44dda7f0916d7a514829b Mon Sep 17 00:00:00 2001 From: Apcallover <1503963513@qq.com> Date: Thu, 30 May 2024 17:07:15 +0800 Subject: [PATCH] =?UTF-8?q?flat:=20=20eslint=20=20=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 20034fd..9173e12 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -9,9 +9,10 @@ module.exports = { ], rules: { 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', - 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off' + 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', + "no-unused-vars": ["error", {"vars": "local", "args": "none"}] }, parserOptions: { parser: 'babel-eslint' } -} \ No newline at end of file +}