mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +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:
|
if not lang:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
# Tree-sitter linter is not capable of working with typescript #1132
|
||||||
|
if lang == "typescript":
|
||||||
|
return
|
||||||
|
|
||||||
parser = get_parser(lang)
|
parser = get_parser(lang)
|
||||||
tree = parser.parse(bytes(code, "utf-8"))
|
tree = parser.parse(bytes(code, "utf-8"))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue