Install with yarn add -D @sentry-internal/eslint-config-sdk
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