https://github.com/timche/eslint-config-jest-files
ESLint shareable config for Jest with global variables in test files
https://github.com/timche/eslint-config-jest-files
Last synced: over 1 year ago
JSON representation
ESLint shareable config for Jest with global variables in test files
- Host: GitHub
- URL: https://github.com/timche/eslint-config-jest-files
- Owner: timche
- License: mit
- Archived: true
- Created: 2018-05-03T13:03:26.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T09:43:59.000Z (over 3 years ago)
- Last Synced: 2025-03-02T10:35:42.543Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 628 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-jest-files
[](https://travis-ci.com/timche/eslint-config-jest-files)
[](https://www.npmjs.com/package/eslint-config-jest-files)
[](https://www.npmjs.com/package/eslint-config-jest-files)
> ESLint [shareable config](http://eslint.org/docs/developer-guide/shareable-configs.html) for [Jest](https://facebook.github.io/jest/) with globals in [test files](https://facebook.github.io/jest/docs/en/configuration.html#testmatch-array-string)
## Install
```
npm install --save-dev eslint-config-jest-files
```
## Usage
`.eslintrc`
```json
{
"extends": "jest-files"
}
```
`package.json`
```json
{
"eslintConfig": {
"extends": "jest-files"
}
}
```