Skip to main content

@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, so teams can adopt a consistent linting baseline by installing one package instead of maintaining their own configuration.

Use cases​

  • Enforcing a consistent set of lint rules across TypeScript and JavaScript repositories
  • Reusing the DX-recommended rule set in generated workspaces and new projects instead of copying configuration between repositories
  • Getting test-runner-aware rules out of the box, with the default entry point for Vitest and a dedicated subpath for Jest

DX ecosystem​

Reference of usage in our organization​