diff options
author | Johannes <johannes.rieken@gmail.com> | 2022-06-08 18:46:25 +0300 |
---|---|---|
committer | Johannes <johannes.rieken@gmail.com> | 2022-06-08 18:46:25 +0300 |
commit | aa23a0dbb749fd3a51a8ed217538c563b8ff012a (patch) | |
tree | 5e2ebb7b8f52063fc0a0b2c8222589fef4fefc5c | |
parent | 13b60e192de770e8beb3122fc0df81071c5a3421 (diff) |
use `prefer-const` default config
-rw-r--r-- | .eslintrc.json | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/.eslintrc.json b/.eslintrc.json index 72298423db8..1abec281d53 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -14,12 +14,7 @@ "constructor-super": "warn", "curly": "warn", "eqeqeq": "warn", - "prefer-const": [ - "warn", - { - "destructuring": "all" - } - ], + "prefer-const": "warn", "no-buffer-constructor": "warn", "no-caller": "warn", "no-case-declarations": "warn", |