From 2a815a21523dca1b498d47397a9cca9f0cc6bc68 Mon Sep 17 00:00:00 2001 From: Greg Price Date: Sat, 14 May 2022 15:29:46 -0700 Subject: [PATCH] lint [nfc]: Leave no-redeclare disabled, as being unhelpful --- .eslintrc.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.eslintrc.yml b/.eslintrc.yml index 90f997b..e054709 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -50,7 +50,9 @@ rules: # But not enough to fight Prettier over it. indent: off - # Rules we may want, but need tweaking options and/or migrating code + # `no-redeclare` fires, wrongly, on TS function overloads, and on merged + # declarations like a `class` and an `interface`. TS already catches all + # the useful cases of this except multiple `var`... and we have `no-var`. no-redeclare: off # Rules we don't want