5.29.0 • Published 3 years ago

sentry-csii-internal-eslint-config-sdk v5.29.0

Weekly downloads
3
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-csii-internal-eslint-config-sdk

Configuration

Use @sentry-csii-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-csii-internal-sdk"],
  "overrides": [
    {
      "files": ["*.ts", "*.tsx", "*.d.ts"],
      "parserOptions": {
        "project": "./tsconfig.json"
      }
    }
  ]
}