@babybeet/eslint-config-base-with-jest

1.0.4 • Public • Published

eslint-config-base-with-jest

Base ESLint rules with support for linting Jest test files.

Installation

  • npm

    npm i -S @babybeet/eslint-config-base-with-jest
    
  • pnpm

    pnpm i -S @babybeet/eslint-config-base-with-jest
    
  • yarn

    yarn add @babybeet/eslint-config-base-with-jest
    

Setting up

In your .eslintrc.json file, add the followings:

{
  "$schema": "https://json.schemastore.org/eslintrc.json",
  "root": true,
  "ignorePatterns": ["!**/*"],
  "parserOptions": {
    "ecmaVersion": "latest",
    "sourceType": "module"
  },
  // It's recommended to use an override to not globally change your ESLint configuration.
  "overrides": [
    {
      "files": ["*.ts"],
      "extends": ["@babybeet/eslint-config-base-with-jest"],
      "rules": {
        // Add your own rule overrides if desired.
      }
    }
  ]
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.42latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.42
1.0.31
1.0.21
1.0.11
1.0.01

Package Sidebar

Install

npm i @babybeet/eslint-config-base-with-jest

Weekly Downloads

6

Version

1.0.4

License

none

Unpacked Size

3.41 kB

Total Files

4

Last publish

Collaborators

  • babybeet