/
githubmirror
/
strapi
Обзор
Документация
Войти
/
githubmirror
/
strapi
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
packages/utils/oxlint-config/tests.ts
12 строк
397 B
Nico André
chore(lint): add non-blocking oxlint setup (#26923)
31 июл 2026, 16:56
Не верифицирован
31 июл 2026, 16:56
6469af3
Код
Авторство
О чём код?
import type { OxlintOverride } from 'oxlint'; /** * Test files. * * Sets Jest/Vitest globals for test paths. Vitest plugin rules stay off in * Phase 1 (see base.ts) until an ESLint-side test-quality policy exists. */ export const tests = { files: ['**/*.test.{js,ts,jsx,tsx}', '**/*.spec.{js,ts,jsx,tsx}', '**/__tests__/**', 'tests/**'], env: { jest: true }, } satisfies OxlintOverride;