https://github.com/getsentry/eslint-config-sentry
eslint rules for sentry
https://github.com/getsentry/eslint-config-sentry
tag-production
Last synced: 6 months ago
JSON representation
eslint rules for sentry
- Host: GitHub
- URL: https://github.com/getsentry/eslint-config-sentry
- Owner: getsentry
- Created: 2017-09-05T22:22:24.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-11-12T17:31:13.000Z (11 months ago)
- Last Synced: 2025-03-30T21:32:43.861Z (6 months ago)
- Topics: tag-production
- Language: JavaScript
- Homepage:
- Size: 1.97 MB
- Stars: 14
- Watchers: 54
- Forks: 6
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# 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](https://github.com/benmosher/eslint-plugin-import)
and [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react).```json
{
"extends": [
"sentry-react",
],
}
```## Deployment
Create a new branch and PR when creating and tagging a new release. Then run```bash
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 `CHANGELOG`s based on conventional commits.
After merging to master, GitHub Actions will be used to publish to the npm registry.