diff options
author | Johannes <johannes.rieken@gmail.com> | 2022-06-08 12:16:24 +0300 |
---|---|---|
committer | Johannes <johannes.rieken@gmail.com> | 2022-06-08 12:16:24 +0300 |
commit | 13b60e192de770e8beb3122fc0df81071c5a3421 (patch) | |
tree | 19d3d4ca6335d6abe7f6b5f00bdb848af2d557b4 | |
parent | 19f96d6ed1c8c9e76f50f62a21223debd62c2413 (diff) |
prefer-const, ignore mixed destructuring statements for now
-rw-r--r-- | .eslintrc.json | 7 |
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", |