Harmonize 1.1.0
Harmonize 1.1.0 is a backwards-compatible release that introduces baseline support in assertions. It also reports stale baseline entries, prompting teams to remove violations that have already been fixed.
Highlights
Baseline support for assertions
assertTrue, assertFalse, and assertEmpty now accept an optional baseline parameter: an array of filenames representing pre-existing violations that you want to exempt from the lint rule.
Example:
viewModels.assertTrue(message: "...", baseline: ["LegacyViewModel"]) {
$0.inherits(from: "BaseViewModel")
}Elements whose filename appears in the baseline are excluded from the lint rule evaluation. Furthermore, Harmonize will also assert that the entries in the baseline array indeed violate the lint rule, and report stale baseline entries. This helps teams identify and remove violations that have already been fixed.
What's Changed
- Add baseline param to assertions by Eric Silverberg (@esilverberg) in #78
- Fix Assertions params typo by Fladson (@fladson) in #79
New Contributors
- Fladson (@fladson) made their first contribution in #79
Full Changelog: 1.0.0...1.1.0