Skip to content
You are viewing the v1 archive. For current setup guidance, use the v3 docs; the v2 release is preserved at /v2/.

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
import { eslintConfig, Testing } from '@santi020k/eslint-config-basic'
export default eslintConfig({
testing: [Testing.Vitest, Testing.Playwright]
})
  • Testing integrations can be mixed as needed.
  • Detection covers the most common tools, but manual selection is still available for every supported integration.

Did this page help?

One click helps us spot documentation that needs another pass. No personal data is sent.