🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@moxy/eslint-config-jest

Package Overview
Dependencies
Maintainers
15
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@moxy/eslint-config-jest

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

latest
Source
npmnpm
Version
13.1.0
Version published
Weekly downloads
487
-38.51%
Maintainers
15
Weekly downloads
 
Created
Source

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"
    ]
}

Keywords

eslint-config

FAQs

Package last updated on 13 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts