npm

@springworks/eslint-config-jest
TypeScript icon, indicating that this package has built-in type declarations

3005.383.0 • Public • Published

@springworks/eslint-config-jest

eslint rules for typescript projects

yarn add -D @springworks/eslint-config-jest eslint

After adding the dependencies, add a config (.eslintrc.json) in the root of the project with this content:

{
  "extends": "@springworks/eslint-config-jest"
}

Or update package.json and include:

{
  "eslintConfig": {
    "extends": "@springworks/eslint-config-jest"
  }
}

Some useful scripts to add to package.json:

{
  "scripts": {
    "lint": "eslint --cache .",
    "lint-fix": "eslint --quiet --fix ."
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i @springworks/eslint-config-jest

Weekly Downloads

115

Version

3005.383.0

License

none

Unpacked Size

9.11 kB

Total Files

11

Last publish

Collaborators

  • springworksdev
  • springworksprime