Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.25 KB

File metadata and controls

38 lines (29 loc) · 1.25 KB

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