@moxy/eslint-config-jest
npm i @moxy/eslint-config-jest

@moxy/eslint-config-jest

MOXY eslint configuration to be used across several JavaScript projects

by moxystudio

13.1.0 (see all)License:MITTypeScript:Not Found
npm i @moxy/eslint-config-jest
Readme

eslint-config-jest

NPM version Downloads Dependency status Dev Dependency status

MOXY's ESLint configuration enhancer for projects that use Jest for testing.

Installation

$ npm install --save-dev eslint @moxy/eslint-config-jest

Usage

Create a .eslintrc.json file in the project root and extend @moxy/eslint-config-jest.

This package should be used in conjunction with @moxy/eslint-config-base.

ℹ️ Only test files will have Jest globals and rules activated. Please check the test-patterns to see how you should name your test files.

Example

{
    "root": true,
    "env": {
        "browser": true
    },
    "extends": [
        "@moxy/eslint-config-base/esm",
        "@moxy/eslint-config-jest"
    ]
}

Downloads/wk

33

GitHub Stars

14

LAST COMMIT

1yr ago

MAINTAINERS

15

CONTRIBUTORS

14

OPEN ISSUES

5

OPEN PRs

1
VersionTagPublished
13.1.0
latest
1yr ago
No alternatives found
No tutorials found
Add a tutorial