Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.

Latest commit

 

History

History
36 lines (29 loc) · 651 Bytes

File metadata and controls

36 lines (29 loc) · 651 Bytes

Socket ESLint Config

Socket Badge

For projects with a tsconfig.json:

{
  "extends": "@socketsecurity",
  "root": true,
  "parserOptions": {
    "project": "./tsconfig.json"
  }
}

For projects without a tsconfig.json:

{
  "extends": "@socketsecurity/eslint-config/tsconfig-less",
  "root": true
}

For projects being typed with JSDoc:

{
  "extends": "@socketsecurity/eslint-config/jsdoc",
  "root": true,
  "parserOptions": {
    "project": "./tsconfig.json"
  }
}