made-in-common

eslint-vitest-rule-tester

ESLint rule tester with Vitest, with more powerful and friendly APIs.

by made-in-common

TypeScript

TypeScript99.6%
JavaScript0.4%

Commit activity

Last 12 weeks · 4 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
62
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Active · 1 discussion · Last activity 1d ago
See all on GitHub →
kazupon

Clear and concise description of the problem Currently, eslint-vitest-rule-tester cannot test oxlint rules. Suggested solution oxlint exports RuleTester. By supporting this, we can test whether rules work on oxlint. https://github.com/oxc-project/oxc/blob/c8c5341d61f16e7360284bcd63073a8169a2b47f/apps/oxlint/src-js/package/rule_tester.ts#L309 Alternative We can build your own test execution infrastructure using oxlint's RuleTester, referencing oxlint's test cases. https://github.com/oxc-project/oxc/blob/main/apps/oxlint/test/rule_tester.test.ts Additional context _No response_ Validations [x] Follow our Code of Conduct [x] Read the Contributing Guide. [x] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

kazupon · 10mo ago
olivier-thatch

Summary Adds support for Vitest 5 (GA, released off rc.4). : added : bumped -> regenerated Closes #27. Compatibility notes Reviewed Vitest 5 breaking changes (Node >=22.12 requirement, default true, // hoisting now throws instead of warns, removed /, inlined ). None apply to this package — it only imports // from and uses no mocking or sequential-test APIs. Verification → 4 files, 27 tests passed under Vitest v5.0.0 → clean → clean (tsdown) → clean

olivier-thatch · 2mo ago
0xflotus

Is this project compatible with the new vitest v5.0? If so, can you please update the ?

0xflotus · 2mo ago
9romise
docs: updateMergedPR

Description Update required ESLint version. Fix the invalid link. Linked Issues Additional context

9romise · 1y ago
Structured data for AI agents

Repository: made-in-common/eslint-vitest-rule-tester. Description: ESLint rule tester with Vitest, with more powerful and friendly APIs. Stars: 143, Forks: 10. Primary language: TypeScript. Languages: TypeScript (99.6%), JavaScript (0.4%). License: MIT. Latest release: v3.2.0 (2mo ago). Open PRs: 0, open issues: 1. Last activity: 1d ago. Community health: 62%. Top contributors: antfu, 9romise, ntnyq, sxzz, azat-io, Newbie012, olivier-thatch, pauliesnug, RebeccaStevens, hyoban and others.