Updated
On this page
JavaScript and TypeScript linter using regex pattern matching as a fallback when tree-sitter is unavailable for npm package analysis.
#rlsbl.lint.npm_regex
#rlsbl.lint.npm_regex
JavaScript and TypeScript linter using regex pattern matching as a fallback when tree-sitter is unavailable for npm package analysis.
#_check_forbidden_imports
python
def _check_forbidden_imports(lines, filepath, config)Check each line for forbidden package imports.
#_check_stdout
python
def _check_stdout(lines, filepath, config)Detect console.log/warn/error/info calls.
#_check_entry_points
python
def _check_entry_points(project_path, config)Check package.json for 'bin' field.
#NpmRegexLinter
npm (JS/TS) linter using regex pattern matching.
#lint
python
def lint(self, project_path: str, config: LanguageLintConfig) -> list[LintResult]