@cloudflare/lint-config-shared@1.2.1
📦 cloudflare-workersView on GitHub →
✨ 1 features🔧 1 symbols
Summary
This patch introduces a new ESLint rule to enforce importing `expect` from the test context rather than directly from `vitest` for improved test safety.
Migration Steps
- Standardize on retrieving `expect` from the test context instead of importing it from `vitest` to ensure safety for concurrent tests.
✨ New Features
- Add an ESLint rule checking that `expect` is not imported from `vitest`.