apps/oxlint/conformance/README.md
Conformance tests run:
They do this by substituting ESLint's RuleTester for Oxlint's version, and then require()ing the test files
to run the tests.
The results are saved in snapshots directory.
Build Oxlint in conformance mode:
cd apps/oxlint
pnpm install
pnpm run build-conformance
Initialize plugin submodules:
pnpm run init-conformance
pnpm run conformance
init.sh to clone the plugin's repo.src/groups directory (copy pattern used for other plugins).src/groups/index.ts.While working on adding a new plugin, you may find it useful to filter the test run, by editing
conformance/src/filter.ts. You can filter by plugin name, rule, or the code of a specific test case.