ESLint shareable config for Sentry projects. Current stable version: 2.10.0. Release cadence is irregular; updates are tied to Sentry's monorepo changes. Key differentiators: includes strict rules for React and import order via eslint-plugin-import and eslint-plugin-react, with a separate 'app' preset for full app setups. Requires eslint >=8. Commonly used for internal Sentry codebases and open-source projects adopting Sentry's linting style.
npm install eslint-config-sentryVerified import paths — ran on the pinned version, not inferred.
Shows how to extend the 'sentry/app' config in .eslintrc.json.
Update ESLint to >=8 or pin eslint-config-sentry to <2.0.0.
Replace 'sentry/base' with 'sentry' or 'sentry/app'.
Use 'extends' not 'plugins' in ESLint config.
Override the `import/order` rule in your .eslintrc: `{ "rules": { "import/order": "off" } }`Ensure eslint >=8 is installed and that the package is in node_modules. Run `npm ls eslint-config-sentry`.