DataDog / datadog-static-analyzer

Datadog Static Analyzer
https://docs.datadoghq.com/static_analysis/
Apache License 2.0
100 stars 12 forks source link

[STAL-2703] feat: add Markdown support #488

Closed amaanq closed 2 months ago

amaanq commented 2 months ago

What problem are you trying to solve?

Currently, we do not support Markdown files. We need a way to parse and query Markdown files, but we do not currently fetch and build a Markdown grammar.

What is your solution?

Add the Markdown grammar to the analyzer itself, which is fetched from https://github.com/tree-sitter-grammars/tree-sitter-markdown. This will allow us (and customers down the line) to begin writing rules targeting Markdown files.

Alternatives considered

What the reviewer should know