@pagopa/eslint-config
@pagopa/eslint-config
is PagoPA's shared ESLint flat config, published as the default export of the
package. It bundles the rules, plugins, and presets the DX team recommends, and
supports both ESLint 9 and ESLint 10.
The package is no longer maintained. Its published version keeps working and
stays installable for repositories that have not migrated yet, but the rule set
is frozen: no new rules, plugin upgrades, or fixes land here. Those live in
@pagopa/oxlint-config, the native
Oxlint configuration that supersedes it.
Use cases
- Keeping an existing ESLint setup on the DX baseline while the Oxlint migration is in progress
- Reusing the DX-recommended rule set in a repository pinned to ESLint because a plugin it depends on has no Oxlint equivalent yet
- Getting test-runner-aware rules out of the box, with the default entry point for Vitest and a dedicated subpath for Jest