Socket
Socket
Sign inDemoInstall

@inthepocket/eslint-config-ts

Package Overview
Dependencies
Maintainers
11
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inthepocket/eslint-config-ts

This contains all ESLint rules to lint a basic TypeScript project. It is important to note that this is a base configuration, thus not ment to implemented as is, but to be used within your own ESLint configuration that requires TypeScript linting.


Version published
Maintainers
11
Created
Source

@inthepocket/eslint-config-ts

This contains all ESLint rules to lint a basic TypeScript project.
It is important to note that this is a base configuration, thus not ment to implemented as is,
but to be used within your own ESLint configuration that requires TypeScript linting.

Usage

Install

npm i -D @inthepocket/eslint-config-ts

Configure ESLint

Within your package.json add the following:

{
  // You will most likely need more than just this
  "eslintConfig": {
    "extends": ["@inthepocket/eslint-config-ts"]
  }
}

Add Lint script

{
  "scripts": {
    "lint": "eslint '**/*.{js,jsx,ts,tsx}'"
  }
}

FAQs

Package last updated on 24 May 2023

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc