包详细信息

@moxy/eslint-config-jest

moxystudio231MIT13.1.0

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

eslint-config, eslintconfig, eslint, lint

自述文件

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

更新日志

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

13.1.0 (2021-07-13)

Features

  • allow noopener in rel when using target blank (#111) (6a26997)

13.0.3 (2020-09-05)

Note: Version bump only for package @moxy/eslint-config-jest

13.0.1 (2020-08-07)

Bug Fixes

  • jest: lax lowercase tests (39cede8)

13.0.0 (2020-08-07)

⚠ BREAKING CHANGES

  • all packages have now a peerDependency on eslint v7

Features

12.3.0 (2020-07-01)

Features

  • add react native a11y enhancer (7734e2e)

12.2.0 (2020-06-25)

Note: Version bump only for package @moxy/eslint-config-jest

12.1.1 (2020-05-21)

Note: Version bump only for package @moxy/eslint-config-jest

12.1.0 (2020-05-04)

Features

  • consider jest.setup.js part of testPattern (2e2c755)

12.0.3 (2020-05-01)

Note: Version bump only for package @moxy/eslint-config-jest

12.0.2 (2020-04-24)

Bug Fixes

12.0.1 (2020-04-17)

Bug Fixes

  • add files in mock to test patterns (#94) (0819983)

12.0.0 (2020-03-30)

Note: Version bump only for package @moxy/eslint-config-jest

11.0.3 (2020-03-20)

Bug Fixes

  • forgot to disable jest for *.spec.js as part of v11 (8ef54d4)

11.0.2 (2020-03-19)

Note: Version bump only for package @moxy/eslint-config-jest

11.0.1 (2020-03-19)

Bug Fixes

  • workaround for peer dependencies not being updated (f7a0d59)

11.0.0 (2020-03-19)

Features

BREAKING CHANGES

  • removed the previous three base packages in favor of just one
  • added a few new rules that were missing

RFC-0003 implementation (2020-03-13)

Bug Fixes

Code Refactoring

BREAKING CHANGES