Skip to content

Latest commit

 

History

History

eslint-config-sdk

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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