Skip to content

chore(deps): update dependency eslint-plugin-playwright to v2 #59

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

pactflow-renovate-bot[bot]
Copy link
Contributor

@pactflow-renovate-bot pactflow-renovate-bot bot commented Feb 19, 2025

This PR contains the following updates:

Package Type Update Change
eslint-plugin-playwright devDependencies major 0.22.2 -> 2.2.0

Release Notes

playwright-community/eslint-plugin-playwright (eslint-plugin-playwright)

v2.2.0

Compare Source

Features
Bug Fixes
  • expect-expert: report on test function identifier rather than body (#​337) (35e37a1)
  • prefer-comparison-matcher: Fix typo in docs (c269371), closes #​343

v2.1.0

Compare Source

Features
  • Add test.fail.only as a valid chain (c067ad2)

v2.0.1

Compare Source

Bug Fixes
  • Fix types for native TypeScript ESM (4c61256)

v2.0.0

Compare Source

⚠ BREAKING CHANGES
  • Remove jest-playwright configs
Features
  • Remove jest-playwright configs (ba82509)
Bug Fixes

v1.8.3

Compare Source

Bug Fixes

v1.8.2

Compare Source

Bug Fixes
Documentation
  • max-expects: Fix README incorrectly marking max-expects as recommended (#​324) (8778bd3)

v1.8.1

Compare Source

Bug Fixes
  • no-useless-await: Fix false positive with expect.poll and resolves/rejects (23663fb), closes #​323

v1.8.0

Compare Source

Features
  • no-useless-await: Remove useless awaits from expect methods (e283efc), closes #​306
Bug Fixes

v1.7.0

Compare Source

Features
Bug Fixes
  • Flat config TypeScript fix (1b5aadb), closes #​299
  • no-conditional-expect: Fix false positive with asymmetric matchers (#​304) (3860f1e)

v1.6.2

Compare Source

Bug Fixes
  • prefer-to-have-count: Support variable references (#​292) (d894de6)

v1.6.1

Compare Source

Bug Fixes
  • prefer-web-first-assertions: Support variable reassignment (#​287) (b0fb7cd)
Documentation

v1.6.0

Compare Source

Features
Documentation

v1.5.4

Compare Source

Bug Fixes
  • valid-expect: Don' mark expect.anything() as invalid. (a9045db)

v1.5.3

Compare Source

Bug Fixes
  • Make config TypeScript compatible (777ab12)
  • prefer-web-first-assertions: Fix error with nested call expressions (bf821f5), closes #​276
Tests
  • valid-describe-callback: Add test case for async describe with tags (ae78045)

v1.5.2

Compare Source

Bug Fixes
  • valid-describe-callback: Support unnamed describe (b3768f8)

v1.5.1

Compare Source

Bug Fixes
  • require-hook: False positive when using new options argument (8a06748)
  • valid-describe-callback: False positive when using new options argument (c25d200), closes #​266
Documentation
  • Add missing URLs to rules (26998b5)

v1.5.0

Compare Source

Features
Bug Fixes
  • no-useless-not: Add support for visible and enabled options (e97a62b)
Documentation
  • no-standalone-expect: Improve documentation around best practices (95fcfd8)

v1.4.2

Compare Source

Bug Fixes
  • valid-describe-callback: False positive with test.describe.configure (91988d5)
Tests
  • Add more test cases test configuration (6bc2576)

v1.4.1

Compare Source

Bug Fixes
  • valid-describe-callback: Fix false negatives (dd1db89)
  • valid-title: False positives with test.use, test.describe.configure, and test.slow (33b2905), closes #​258
  • valid-title: Fix more false positives and reduce future chance of error (3e99e55)
Documentation

v1.4.0

Compare Source

Features
  • Add valid-describe-callback rule (c0bd18e)
  • Add valid-expect-in-promise rule (cbf356d)
  • Add require-to-throw-message rule (3bb8c6a)
Tests
  • require-hook: Add more test cases (7258d98)
  • require-hook: Add test for valid test.use usage (13141cc)
Refactoring

This release brings with it some major refactoring to the internals of the plugin to improve consistency, performance, and future enhancements. This should not cause any issues as we have a very extensive test suite, but if you encounter any issues, please let us know!

v1.3.1

Compare Source

Bug Fixes
  • no-standalone-expect: Allow expect() calls in test hooks (5524bf7), closes #​242
  • require-hook: Allow test.describe.configure outside of hooks (df7e4b2)
Tests

v1.3.0

Compare Source

Features
Bug Fixes
  • no-standalone-expect: Allow expect in class methods (e2dc9aa)

v1.2.0

Compare Source

Features
  • Add max-expects rule (acf80a0)
  • Add no-commented-out-tests rule (718d900)
  • Add no-conditional-expect rule (dbf91cc)
  • Add no-duplicate-hooks rule (0a28d25)
  • Add no-standalone-expect rule (#​223) (8aa75d2)
  • Add prefer-hooks-in-order rule (10babed)
  • Add prefer-hooks-on-top rule (24a51d2)

v1.1.2

Compare Source

Bug Fixes
  • no-unsafe-references: Ignore TypeScript type references (3b3cafd), closes #​214
  • Update ESLint peer requirements to 8.40.0 (3a9c302)

v1.1.1

Compare Source

Bug Fixes
  • False positives for no-unsafe-references when using Promise, window, or console (c2e9e10)
  • no-unsafe-references: Add arguments after existing array elements (50df5ba)
  • no-unsafe-references: Convert non-array params to array when adding references (b4ef27c)

v1.1.0

Compare Source

Features
  • Add no-unsafe-references rule to check for unsafe references to variables within page.evaluate() (27f6236)
  • Support variable references in prefer-web-first-assertions (#​210) (8dae81e)
Bug Fixes
  • Set lowest Node.js version to 16.6.0 (c8938e0)
Tests
  • Add Node 20 to CI tests (72f96bb)

v1.0.1

Compare Source

Bug Fixes
  • Add missing no-get-by-title config (c0e0fde)

v1.0.0

Compare Source

Features
  • Add no-get-by-title rule (d7c0753), closes #​196
  • Add support for settings.globalAliases to support custom test/expect names (40759e7)
  • Remove support for global assertFunctionNames (cc3159a)
  • Rename additionalAssertFunctionNames to assertFunctionNames (ed5d7bc)
BREAKING CHANGES
  • Rename the additionalAssertFunctionNames option to assertFunctionNames. The accepted values are the same, the setting name is the only change.
  • assertFunctionNames is now only available at the rule level

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@pactflow-renovate-bot pactflow-renovate-bot bot force-pushed the gh-renovate/eslint-plugin-playwright-2.x branch 3 times, most recently from fac4d4e to 2911b79 Compare February 20, 2025 00:45
@pactflow-renovate-bot pactflow-renovate-bot bot force-pushed the gh-renovate/eslint-plugin-playwright-2.x branch from 2911b79 to f5ba6ef Compare February 20, 2025 01:42
@JP-Ellis JP-Ellis merged commit 027c9b1 into main Feb 20, 2025
3 checks passed
@JP-Ellis JP-Ellis deleted the gh-renovate/eslint-plugin-playwright-2.x branch February 20, 2025 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant