Skip to content

ESLint Config for use in the SocketDev organization

License

Notifications You must be signed in to change notification settings

SocketDev/eslint-config

Repository files navigation

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"
  }
}