Socket
Socket
Sign inDemoInstall

@springworks/eslint-config-typescript

Package Overview
Dependencies
1
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @springworks/eslint-config-typescript

eslint rules for typescript projects


Version published
Weekly downloads
269
decreased by-0.37%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

@springworks/eslint-config-typescript

eslint rules for typescript projects

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

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

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

Or update package.json and include:

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

Some useful scripts to add to package.json:

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

FAQs

Last updated on 24 Jan 2023

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