Socket
Socket
Sign inDemoInstall

@springworks/eslint-config-jest

Package Overview
Dependencies
3
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @springworks/eslint-config-jest

eslint rules for jest projects


Version published
Maintainers
2
Created

Readme

Source

@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 ."
  }
}

FAQs

Last updated on 20 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc