Changelog
1.1.0 — 2026-03-12
✨ New Rule: prefer-logger
- Added
prefer-loggerrulelog-onlymode (default): flagsconsole.logas a debug tool and suggests replacing it withconsole.infofor intentional outputallmode: bans everyconsole.*call, enforcing a dedicated logger (e.g. pino, winston)- Provides a one-click suggestion to upgrade
console.log→console.infoinlog-onlymode - Included in
recommendedconfig atwarnwithmode: 'log-only' - Included in
strictconfig aterrorwithmode: 'all'
1.0.0
🎉 Initial Release
- Added
no-inline-interface-object-typesrule- Detects inline object type literals in interface properties, function/method/arrow params, and return types
- Provides intelligent autofix that extracts inline types to named interfaces
- Smart naming strategy based on context (parent interface, function name, class name, etc.)
- Conservative singularization for array property names
- Name collision deduplication with numeric suffixes
- Configurable: enable/disable per check category, set minimum members, toggle autofix
- Added
recommendedconfig (all rules atwarn) - Added
strictconfig (all rules aterrorwith autofix) - Full VitePress documentation site
- Comprehensive test suite with 40+ test cases