3.0.2 • Published 1 year ago

@pacote/eslint-config-jest v3.0.2

Weekly downloads
83
License
MIT
Repository
github
Last release
1 year ago

@pacote/eslint-config-jest

version minified minified + gzip

Shareable ESLint configuration for Jest.

Installation

yarn add --dev @pacote/eslint-config-jest eslint eslint-plugin-jest-dom eslint-plugin-jest eslint-plugin-testing-library

Usage

Include the configuration in your project's .eslintrc file:

{
  "extends": ["@pacote/eslint-config-jest"]
}

Testing Library

Because many Testing Library packages exist, linting rules are not included in shareable configuration and should be imported manually. For example:

{
  "extends": [
    "@pacote/eslint-config-jest",
    "plugin:testing-library/dom",
    "plugin:testing-library/react"
  ]
}

License

MIT © Luís Rodrigues.

3.0.2

1 year ago

3.0.1

3 years ago

3.0.0

3 years ago

2.0.0

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.0

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.3

4 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago