v1.1.0: Optional Configuration & Strict Engine
Added
- Configuration File (
config.smile.json): Introduced a flexible configuration system. Users can now place aconfig.smile.json,smile.config.json,.smilerc.json, orsmile.jsonin their project root to override rule severities. - Rule Downgrades: Strict rules can now be downgraded to
warn(emits a warning but doesn't break CI) or turnedoffcompletely, enabling incremental adoption for large enterprise projects. - Reporter 2.0: The CLI reporter now displays warnings (
🟡) natively. If a spec has warnings but zero errors, it successfully prints the Smile Signature and exits with code0.
Changed
- Strict by Default Engine: Refactored the core engine so that all rules (including all GraphQL rules) emit
Errorby default.smileis now mathematically strict out-of-the-box, ensuring zero false-positives on passing builds unless explicitly configured otherwise via the new config file.
📦 Installation
npm install -g @mrjacket/smileView Full CHANGELOG