Updated
On this page
Go linter using regex pattern matching as a fallback when tree-sitter is unavailable, providing the same checks via line-oriented patterns.
#rlsbl.lint.go_regex
#rlsbl.lint.go_regex
Go linter using regex pattern matching as a fallback when tree-sitter is unavailable, providing the same checks via line-oriented patterns.
#_check_forbidden_imports
python
def _check_forbidden_imports(source, lines, filepath, config)Check for forbidden Go package imports.
#_check_stdout
python
def _check_stdout(lines, filepath, config)Detect fmt.Print* and os.Stdout.Write() calls.
#_check_entry_points
python
def _check_entry_points(source, filepath, config)Detect func main() in package main files.
#GoRegexLinter
Go linter using regex pattern matching.
#lint
python
def lint(self, project_path: str, config: LanguageLintConfig) -> list[LintResult]