Skip to content

Testing

The testing option enables linting support for test runners, test environments, and testing-oriented utilities.

IntegrationEnumUse It WhenAuto-Detected
VitestTesting.VitestThe project uses Vitest.Yes
PlaywrightTesting.PlaywrightThe project uses Playwright.Yes
JestTesting.JestThe project uses Jest.No
CypressTesting.CypressThe project uses Cypress.No
Testing LibraryTesting.TestingLibraryThe project uses Testing Library.No

Example

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

export default eslintConfig({
  testing: [Testing.Vitest, Testing.Playwright]
})

Notes

  • Testing integrations can be mixed as needed.
  • Detection covers the most common tools, but manual selection is still available for every supported integration.

Repository Examples

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