feat: add lux lint command with Lux-specific static analysis
Implements a linter with 21 lint rules across 6 categories (correctness, suspicious, idiom, performance, style, pedantic). Lux-specific lints include could-be-pure, could-be-total, unnecessary-effect-decl, and single-arm-match. Integrates lints into `lux check` for unified type+lint checking. Available standalone via `lux lint` (alias: `lux l`) with --explain for detailed help. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1143
src/linter.rs
Normal file
1143
src/linter.rs
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user