From 53fefa0246394608fdf3e03deeb4a386804a94dd Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 3 Sep 2024 12:28:08 -0700 Subject: [PATCH] disable built in linter for typescript #1132 --- aider/linter.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/aider/linter.py b/aider/linter.py index 2a4e5a827..160c4058a 100644 --- a/aider/linter.py +++ b/aider/linter.py @@ -198,6 +198,10 @@ def basic_lint(fname, code): if not lang: return + # Tree-sitter linter is not capable of working with typescript #1132 + if lang == "typescript": + return + parser = get_parser(lang) tree = parser.parse(bytes(code, "utf-8"))