Socket
Book a DemoInstallSign in
Socket

@hs-web-team/eslint-config-ts

Package Overview
Dependencies
Maintainers
86
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hs-web-team/eslint-config-ts

HubSpot Marketing WebTeam ESLint rules for Typescript

2.1.1
latest
Source
npmnpm
Version published
Weekly downloads
181
-21.65%
Maintainers
86
Weekly downloads
 
Created
Source

Hubspot Marketing WebTeam ESLint rules for TypeScript

This is a list of TypeScript rules that are recommended for use with Hubspot Marketing WebTeam projects.

https://www.npmjs.com/package/@hs-web-team/eslint-config-ts

Index

Introduction

This is a set of ESLint rules that are recommended for use with Hubspot Marketing WebTeam projects, and can be used in conjunction with the browser or node linting packages.

Note that this package will only apply rules to TypeScript files (.ts and .tsx). It will not apply rules to JavaScript files (.js and .jsx). You must use the browser or node linting packages to use ESLint rules for vanilla JavaScript files.

Setup

  • Install as dev dependency
npm i -D @hs-web-team/eslint-config-ts
  • Add to .eslintrc in project root directory
{
  "extends": "@hs-web-team/eslint-config-ts"
}

or when used with the browser/node rules:

{
  "extends": [
    "@hs-web-team/eslint-config-browser", // or "@hs-web-team/eslint-config-node"
    "@hs-web-team/eslint-config-ts"
  ],
}

Migrating from an existing .eslint config

  • Remove node_modules
  • Delete package-lock.json
  • npm install
  • Re open your vscode/editor workspace
  • Check if ts linting is working

References

Shareable ESLint Configs Reference

Where to use it

This package is intended to be used in projects that use TypeScript, in conjunction with either the Node or Browser linting packages.

Keywords

eslint

FAQs

Package last updated on 12 May 2025

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.