@sentry-internal/eslint-config-sdk

7.112.1 • Public • Published

Sentry

Official Sentry SDK eslint config

npm version npm dm npm dt

Links

General

Install with yarn add -D @sentry-internal/eslint-config-sdk

Configuration

Use @sentry-internal for base rules. Make sure to specify your tsconfig under parserOptions.project so that you can correctly use the typescript rules. This configuration comes with

{
  "extends": ["@sentry-internal/sdk"],
  "overrides": [
    {
      "files": ["*.ts", "*.tsx", "*.d.ts"],
      "parserOptions": {
        "project": "./tsconfig.json"
      }
    }
  ]
}

Package Sidebar

Install

npm i @sentry-internal/eslint-config-sdk

Weekly Downloads

3,336

Version

7.112.1

License

MIT

Unpacked Size

16.4 kB

Total Files

7

Last publish

Collaborators

  • haza
  • sentry-bot
  • mitsuhiko
  • zeeg
  • leedongwei
  • evanpurkhiser
  • billyvg
  • jauer
  • markstory