@anion155/eslint-config-jest

0.2.2 • Public • Published

What is this module about?

It's my personal eslint configuration. It's a complementary package with jest configurations for @anion155/eslint-config. Default structure is __tests__ sub folders and .spec sub extension:

  • src/
    • moduleA.ts
    • tests/
      • moduleA.spec.ts

Usage

npm install --save-dev @anion155/eslint-config-jest @anion155/eslint-config eslint prettier jest
// .eslintrc.json
{
  "extends": ["@anion155/eslint-config", "@anion155/eslint-config-jest"]
}

@anion155/eslint-config-jest/plain

You can use plain configuration without overrides based on extensions or to create your own override based on this configuration by using plain submodule:

{
  "extends": ["@anion155/eslint-config", "@anion155/eslint-config-jest/plain"]
}

Readme

Keywords

none

Package Sidebar

Install

npm i @anion155/eslint-config-jest

Weekly Downloads

3

Version

0.2.2

License

MIT

Unpacked Size

2.51 kB

Total Files

4

Last publish

Collaborators

  • anion155