refactoring: evaluate RuleElements with @sindresorhus/ow/isValid #97
Labels
priority: medium
Will add consumer value when released.
type: breaking change
Modifications affect or replace the public API. ⇧ Bumps the MAJOR semver.
type: build
Changes to product build.
type: refactor
Restructuring source code without changing its external behavior.
type: test
Adding, correcting, or improving tests (coverage).
Milestone
Refactoring proposal
1. Design summary / code smell(s)
Version 1.2.0 of archetypes-rules has:
2. Refactoring proposal(s)
Simplify RuleContext evaluations with @sindresorhus/ow/
isValid
function.Rename the module @archetypes/rules.
Extend all @archetypes/rules/
Variables
with @sindresorhus/ow methods (by ECMAScript data type).3. Code quality improvement scores
The refactorings changes have either:
3.1. Complexity measures
3.2. Source Lines Of Code (SLOC)
3.3. Dependencies (production)
3.4. Bundle size (gzip)
3.5. Code quality results summary
The text was updated successfully, but these errors were encountered: