6.2.5-brick.0 • Published 3 years ago

@sentry-murz/eslint-config-sdk v6.2.5-brick.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Official Sentry SDK eslint config

npm version npm dm npm dt typedoc

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