Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes <johannes.rieken@gmail.com>2022-06-08 18:46:25 +0300
committerJohannes <johannes.rieken@gmail.com>2022-06-08 18:46:25 +0300
commitaa23a0dbb749fd3a51a8ed217538c563b8ff012a (patch)
tree5e2ebb7b8f52063fc0a0b2c8222589fef4fefc5c
parent13b60e192de770e8beb3122fc0df81071c5a3421 (diff)
use `prefer-const` default config
-rw-r--r--.eslintrc.json7
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",