Releases: playwright-community/eslint-plugin-playwright
Releases · playwright-community/eslint-plugin-playwright
v0.14.3
v0.14.2
v0.14.1
What's Changed
- Fix a bug with
no-networkidle
that was breaking when no argument was passed towaitForLoadState
Full Changelog: v0.14.0...v0.14.1
v0.14.0
v0.13.0
Features
- Add
prefer-web-first-assertions
rule by @mskelton in #129 - Add
recommended
config to replace theplaywright-test
config. The existingplaywright-test
config will be removed in v1.
Bug fixes
- Identify custom page objects in rules by @mskelton in #132
- Fix require-soft-assertions rule name and link in README.md. by @maxime-bc in #120
New Contributors
- @maxime-bc made their first contribution in #120
Full Changelog: v0.12.0...v0.13.0
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
v0.11.2
v0.11.1
v0.11.0
New Matchers
- Add
no-restricted-matchers
by @mskelton in #92 - Add
no-useless-not
rule by @mskelton in #81 - Add
prefer-lowercase-title
rule by @mskelton in #87 - Add
prefer-to-have-length
rule by @mskelton in #94 - Add
require-top-level-describe
rule by @mskelton in #86 - Add
valid-expect
rule by @mskelton in #82
Bug fixes
- Reduce scope of
no-conditional-in-test
to top level conditionals by @mskelton in #80 - Fix
max-nested-describe
README.md url by @JamyGolden in #77
Maintenance
- Update plugin source to TypeScript by @mskelton in #71
- Move docs to separate directory by @mskelton in #73
New Contributors
- @JamyGolden made their first contribution in #77
Full Changelog: v0.10.0...v0.11.0