io.github.rog0x/lint
Style check, naming, complexity analysis for AI agents
Versions
1.0.2latestTools 5
check_code_style Check code style issues: indentation (tabs vs spaces), line length, trailing whitespace, final newline, consistent quotes, and semicolons. All rules are configurable.
check_naming_conventions Check naming conventions in code: camelCase, PascalCase, snake_case, UPPER_CASE. Detects mixed conventions within the same identifier kind and suggests fixes. Language-aware for TypeScript, JavaScript, Python, and Go.
analyze_complexity Calculate cyclomatic complexity of functions, count lines per function, and measure nesting depth. Flags functions that exceed configurable thresholds.
find_dead_code Find potential dead code: unused variables, unreachable code after return/throw, empty catch blocks, commented-out code blocks, and TODO/FIXME/HACK comments.
analyze_imports Analyze imports: detect unused imports, check import ordering by group (builtin/external/internal/parent/sibling/index), find duplicate imports, and flag potential circular dependencies.
Permissions 0
No permissions indexed yet.