What is Globstar?
masterGlobstar is a static analysis toolkit designed for writing and running custom checkers to detect code quality, security, or other specific issues in a codebase.
It supports two levels of checker complexity:
- YAML-based checkers: Located in the
.globstarfolder of your repository, these use tree-sitter's S-expression syntax to match patterns. - Go-based checkers: For advanced logic, you can use the Go API to write complex code with full access to the tree-sitter AST, including features like import resolution, scope analysis, and cross-file references.