@redwerks/eslint-config-jest

1.0.0 • Public • Published

@redwerks/eslint-config-jest

npm devDeps peerDeps

Jest extensions for @redwerks/eslint-config.

Usage

.eslintrc.js

If your project uses __tests__ folders for tests.

module.exports = {
  root: true,
  env: {
    // Customize with the environments your project is run in
    // browser: true,
    // node: true,
  },
  extends: [
    '@redwerks/eslint-config',
    '@redwerks/eslint-config-jest/tests-folder',
  ],
};

If your project uses *.spec.js files for tests.

module.exports = {
  root: true,
  env: {
    // Customize with the environments your project is run in
    // browser: true,
    // node: true,
  },
  extends: ['@redwerks/eslint-config', '@redwerks/eslint-config-jest/spec'],
};

Package Sidebar

Install

npm i @redwerks/eslint-config-jest

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

3.58 kB

Total Files

5

Last publish

Collaborators

  • dantman