Skip to content

Releases: playwright-community/eslint-plugin-playwright

v1.3.0

19 Feb 16:29
fb24757
Compare
Choose a tag to compare

1.3.0 (2024-02-19)

Features

Bug Fixes

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

v1.2.0

18 Feb 06:16
71004af
Compare
Choose a tag to compare

1.2.0 (2024-02-18)

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

16 Feb 17:23
3b3cafd
Compare
Choose a tag to compare

1.1.2 (2024-02-16)

Bug Fixes

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

v1.1.1

16 Feb 13:39
50df5ba
Compare
Choose a tag to compare

1.1.1 (2024-02-16)

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

15 Feb 17:08
72f96bb
Compare
Choose a tag to compare

1.1.0 (2024-02-15)

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

11 Feb 14:58
2e66a66
Compare
Choose a tag to compare

1.0.1 (2024-02-11)

Bug Fixes

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

v1.0.0

11 Feb 00:25
d7c0753
Compare
Choose a tag to compare

1.0.0 (2024-02-11)

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

v0.22.2

03 Feb 14:31
510e71c
Compare
Choose a tag to compare

0.22.2 (2024-02-03)

Bug Fixes

  • Add toPass to missing-playwright-await test matchers (#206) (3a8f674)
  • Fix prefer-to-have-count false positive (510e71c), closes #207
  • Use checked property of toBeChecked when it is not a boolean literal (3563148), closes #205

v0.22.1

18 Jan 13:03
11ac823
Compare
Choose a tag to compare

0.22.1 (2024-01-18)

Bug Fixes

  • Remove accidental console log (11ac823)

v0.22.0

18 Jan 02:28
47249ce
Compare
Choose a tag to compare

0.22.0 (2024-01-18)

Bug Fixes

  • Ignore expect without assertion in missing-playwright-await (#201) (47249ce)

Features