@socketsecurity/eslint-config

The Socket ESLint config. Based on standard


License
MIT
Install
npm install @socketsecurity/eslint-config@4.0.0

Documentation

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