Module @sentry-internal/eslint-config-sdk

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

Generated using TypeDoc