eslint-plugin-testing-library

ESLint plugin to follow best practices and anticipate common mistakes when writing tests with Testing Library

MIT License

Downloads
23.7M
Stars
952
Committers
66

Bot releases are hidden (Show)

eslint-plugin-testing-library - v1.3.2

Published by Belco90 almost 5 years ago

1.3.2 (2019-11-06)

Bug Fixes

  • prefer-explicit-assert raising error on destructuring statement (#43) (ac76e41)
eslint-plugin-testing-library - v1.3.1

Published by Belco90 almost 5 years ago

1.3.1 (2019-10-31)

Bug Fixes

  • prefer-explicit-assert options example (#39) (f3c197c)
eslint-plugin-testing-library - v1.3.0

Published by Belco90 almost 5 years ago

1.3.0 (2019-10-24)

Features

eslint-plugin-testing-library - 1.2.0

Published by Belco90 about 5 years ago

Features

  • rule: prefer-expect-query-by (#22)
eslint-plugin-testing-library - v1.1.1

Published by Belco90 about 5 years ago

Small release just for fixing package version

eslint-plugin-testing-library - v1.1.0

Published by Belco90 about 5 years ago

no-debug: renderFunctions options added (https://github.com/Belco90/eslint-plugin-testing-library/pull/19)

eslint-plugin-testing-library - Initial release

Published by Belco90 about 5 years ago

Initial release for eslint-plugin-testing-library 🎉

Follow Testing Library best practices and anticipate common mistakes with this ESLint plugin:

  • 5 rules added: await-async-query, await-fire-event, no-await-sync-query, no-debug and no-dom-import
  • Recommended shareable config included
  • Shareable configs with specific rules for different frameworks included: Angular, React and Vue
  • Autofix some rules