0.2.2 • Published 4 months ago

@anion155/eslint-config-jest v0.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

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

4 months ago

0.2.0

4 months ago

0.2.2

4 months ago

0.1.0

1 year ago