Skip to content

getsentry/eslint-config-sentry

Repository files navigation

Install

yarn add -D eslint-config-sentry

For packages that use react: yarn add -D eslint-config-sentry-react

Configuration

In your .eslintrc (or equivalent config file)

Use sentry for base rules, sentry-react contains rules for eslint-plugin-import and eslint-plugin-react.

{
  "extends": [
    "sentry-react",
  ],
}

Deployment

Create a new branch and PR when creating and tagging a new release. Then run

yarn release

to bump the verison (it current will always be a minor bump) and create a commit. lerna will also try to update relevant CHANGELOGs based on conventional commits.

After merging to master, GitHub Actions will be used to publish to the npm registry.