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 12:16:24 +0300
committerJohannes <johannes.rieken@gmail.com>2022-06-08 12:16:24 +0300
commit13b60e192de770e8beb3122fc0df81071c5a3421 (patch)
tree19d3d4ca6335d6abe7f6b5f00bdb848af2d557b4
parent19f96d6ed1c8c9e76f50f62a21223debd62c2413 (diff)
prefer-const, ignore mixed destructuring statements for now
-rw-r--r--.eslintrc.json7
1 files changed, 6 insertions, 1 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 1abec281d53..72298423db8 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -14,7 +14,12 @@
"constructor-super": "warn",
"curly": "warn",
"eqeqeq": "warn",
- "prefer-const": "warn",
+ "prefer-const": [
+ "warn",
+ {
+ "destructuring": "all"
+ }
+ ],
"no-buffer-constructor": "warn",
"no-caller": "warn",
"no-case-declarations": "warn",