Skip to content

Optionals Package

Package: @santi020k/eslint-config-optionals

This package contains the optional integrations consumed by the main package through the libraries, testing, formats, tools, and extensions options.

Categories

  • Libraries: Tailwind, I18next, Storybook, Stencil, TanStack Query, TanStack Router.
  • Testing: Vitest, Jest, Cypress, Playwright, Testing Library.
  • Formats: Markdown, MDX, JSONC, YAML, TOML, GraphQL.
  • Tools: Prettier, CSpell, JSDoc, Swagger.
  • Extensions: RegExp, Unicorn, SonarJS, Security, Perfectionist.

How to Use It

Most projects use the main package and enable optionals through enums rather than importing @santi020k/eslint-config-optionals directly.

js
import { eslintConfig, Extension, Library, Testing, Tool } from '@santi020k/eslint-config-basic'

export default eslintConfig({
  libraries: [Library.Tailwind],
  testing: [Testing.Vitest],
  tools: [Tool.Prettier],
  extensions: [Extension.Unicorn]
})

Built by Santi020k. Repo and personal site linked throughout the docs.