mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
disable built in linter for typescript #1132
This commit is contained in:
parent
8eda666672
commit
53fefa0246
1 changed files with 4 additions and 0 deletions
|
@ -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"))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue