Language Independent Validation Rules 2.0
summary
LIVR 2.0 is a small, language‑independent validator spec and implementations (dozen+ languages) used in hundreds of projects; it enforces a precise spec, ships with JSON test suites that caught bugs even in Perl 6, and defines core+rules architecture so the tiny core stays rule‑agnostic while pluggable rules handle checks and transformations. Behavior specifics: removes unspecified fields, does not stop on first error, returns string error codes for localization, supports hierarchical data, custom rule registration, and common transforms like lowercasing emails.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 2:16Existing validators problems
- 5:33Solution and spec 2.0
- 8:24Implementations and community
- 10:34Advantages and usage
- 11:38Conclusion
related talks
27mRules_lint: Formatting and Linting All Languages
27mWhen Linting Shrugs: Dynamic Checks for API Specs
34mLint to the Rescue
42mBeyond spell checking - what else can we check automatically?
15mLint ALL the Things
39mRetaking Rules for Developers
22mEasier Lint Authoring with Semantic Search and (...)
38mTurning a Code Snippet into Linter Rules
