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
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![Sonar Quality Gate](https://camo.githubusercontent.com/cfc5dfc7e929dca7dfcbab2692f6a9d15fe2231779b5cde78592eb10162ec6e2/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d636f6d6d6f6e616c6974795f617263686574797065732d72756c6573266d65747269633d616c6572745f7374617475732674656d706c6174653d464c4154)
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: