From ae61bfc768a1fe6fc08c7aa0672e91db8950e6ec Mon Sep 17 00:00:00 2001 From: wancat Date: Tue, 8 Aug 2023 17:26:12 +0800 Subject: [PATCH] Update eslint rule --- .eslintrc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.js b/.eslintrc.js index ebfa30a..7d9e2c6 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -20,5 +20,6 @@ module.exports = { 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'import/extensions': 'off', camelcase: ['error', { properties: 'never', ignoreDestructuring: true }], + 'no-param-reassign': ['error', { props: false }], }, }