Skip to content

Tags: andipaetzold/eslint-plugin-testing-library

Tags

v6.0.2

Toggle v6.0.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(await-async-events): sync userEvent.setup() should not be reported (

testing-library#817)

Fixes testing-library#800

Co-authored-by: Justin Toman <--global>

v6.0.1

Toggle v6.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(no-await-sync-events): stop reporting `user-event` by default (te…

…sting-library#803)

v6.0.0

Toggle v6.0.0's commit message
chore: force release

v6.0.0-alpha.15

Toggle v6.0.0-alpha.15's commit message
style: format files

v5.11.1

Toggle v5.11.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(prefer-presence-queries): ignore `getBy*` inside `within` for on …

…absence queries (testing-library#740)

* fix: ignore getBy inside of within for prefer-presence-queries on absence queries

* docs: within treatment in prefer-presence-queries

---------

Co-authored-by: Mario Beltrán <belco90@gmail.com>

v5.11.0

Toggle v5.11.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: add `prefer-query-matchers` rule (testing-library#750)

* feat: add prefer-query-matchers rule

Co-authored-by: Dale Karp <dale.karp@testdouble.com>

* test: cover prefer-query-matchers with test

Co-authored-by: Dale Karp <dale.karp@testdouble.com>

* feat: set default options to no configured entries to check for

Co-authored-by: Dale Karp <dale.karp@testdouble.com>

* docs: add query doc and supported rules table entry

* style: prettify rule file

* fix: do not include prefer-query-matchers by default

* fix: failing test

* fix: make generated tests more realistic AST

* fix: comment out test names

---------

Co-authored-by: Dale Karp <dale.karp@testdouble.com>

v5.10.3

Toggle v5.10.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(deps): update dependencies to latest minor (testing-library#753)

fix(deps): update dependencies to latest minor

v5.10.2

Toggle v5.10.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(await-async-util): false positives due to empty strings (testing-…

…library#733)

v5.10.1

Toggle v5.10.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(await-async-utils): false positive when destructuring (testing-li…

…brary#722)

v5.10.0

Toggle v5.10.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat(consistent-data-testid): add support for custom error message (t…

…esting-library#719)

Closes testing-library#718

* feat(consistent-data-testid): add support for custom message in the rule configuration

* feat(consistent-data-testid): update docs

* feat(consistent-data-testid): use undefined as default value for customMessage

* feat(consistent-data-testid): add comment to test case

Co-authored-by: Patrick Ahmetovic <patrick.ahmetovic@prescreen.io>