v0.12.0
This release introduces three new rules as well as a major improvement to the location of errors. Previously, many rules would attach errors to portions of the code that were not as relevant to the error. This has been improved as well as support for this.page
to make it easier when linting in page objects.
What's New
- Improve error scoping by @mskelton in #116
- Add
prefer-to-be
rule by @mskelton in #106 - Add
prefer-strict-equal
rule by @mskelton in #105 - Add
require-soft-assertions
rule by @mskelton in #118
Fixes & Maintenance
- Support
this.page
in rules by @mskelton in #115 - Support
Promise.all
for missing-playwright-await by @mskelton in #117 - Improve expect calls to use
parseExpectCall
by @mskelton in #108
Dependencies
- build(deps): bump minimatch from 3.0.4 to 3.1.2 by @dependabot in #111
- build(deps): bump json5 from 2.2.1 to 2.2.3 by @dependabot in #114
New Contributors
Full Changelog: v0.11.2...v0.12.0