@cnsjs/eslint-config-jest

0.0.2 • Public • Published

@cnsjs/eslint-config-jest

CoreDAO Domains's Jest ESLint configuration.

Usage

yarn add --dev \
    @cnsjs/eslint-config@^0.0.1 \
    @cnsjs/eslint-config-jest@^0.0.1 \
    eslint@^8.33.0 \
    eslint-config-prettier@^8.6.0 \
    eslint-plugin-import@^2.27.5 \
    eslint-plugin-jest@^27.2.1 \
    eslint-plugin-jsdoc@^39.8.0 \
    eslint-plugin-prettier@^4.2.1 \
    prettier@^2.8.4

The order in which you extend ESLint rules matters. The @cnsjs/* eslint configs should be added to the extends array last, with @cnsjs/eslint-config first, and @cnsjs/eslint-config-* in any order thereafter.

module.exports = {
  root: true,

  extends: [
    // These should be added last unless you know what you're doing.
    '@cnsjs/eslint-config',
    '@cnsjs/eslint-config-jest',
  ],
};

Readme

Keywords

Package Sidebar

Install

npm i @cnsjs/eslint-config-jest

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

4.77 kB

Total Files

4

Last publish

Collaborators

  • wecrpto