🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@super-protocol/eslint-config-typescript

Package Overview
Dependencies
Maintainers
17
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@super-protocol/eslint-config-typescript

Shared ESLint and Typescript configs

latest
Source
npmnpm
Version
3.0.0-beta.1
Version published
Maintainers
17
Created
Source

Shared ESLint and Typescript configuration

Integrate into new project

  • Turn off VS code extention "Prettier" for the project if you use it
  • Create file .vscode/settings.json
  • add "prettier.enable": false to the json
  • Install this package as devDependency
# with npm
$ npm i -D @super-protocol/eslint-config-typescript

  • Use ESLint config in your project

Add .eslintrc.json file based on your project type:

For CommonJS projects:

{
  "extends": [
    "@super-protocol/eslint-config-typescript/eslint/node-cjs"
  ]
}

For ESM projects:

{
  "extends": [
    "@super-protocol/eslint-config-typescript/eslint/node-esm"
  ]
}
  • Use Typescript config in your project

Add the following tsconfig.json file based on your project type:

For CommonJS projects:

{
  "extends": "@super-protocol/eslint-config-typescript/tsconfig/node-cjs"
}

For ESM projects:

{
  "extends": "@super-protocol/eslint-config-typescript/tsconfig/node-esm"
}

Keywords

eslint

FAQs

Package last updated on 09 Oct 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