eslint-plugin-testing-library

  • Version 7.1.1
  • Published
  • 267 kB
  • 2 dependencies
  • MIT license

Install

npm i eslint-plugin-testing-library
yarn add eslint-plugin-testing-library
pnpm add eslint-plugin-testing-library

Overview

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

Index

Variables

Variables

variable plugin

const plugin: {
meta: { name: string; version: string };
configs: {
angular: Linter.LegacyConfig;
dom: Linter.LegacyConfig;
marko: Linter.LegacyConfig;
react: Linter.LegacyConfig;
svelte: Linter.LegacyConfig;
vue: Linter.LegacyConfig;
'flat/angular': Linter.FlatConfig;
'flat/dom': Linter.FlatConfig;
'flat/marko': Linter.FlatConfig;
'flat/react': Linter.FlatConfig;
'flat/svelte': Linter.FlatConfig;
'flat/vue': Linter.FlatConfig;
};
rules: { [key: string]: Rule.RuleModule };
};

    Package Files (1)

    Dependencies (2)

    Dev Dependencies (30)

    Peer Dependencies (1)

    Badge

    To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

    You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/eslint-plugin-testing-library.

    • Markdown
      [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/eslint-plugin-testing-library)
    • HTML
      <a href="https://www.jsdocs.io/package/eslint-plugin-testing-library"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>