Skip to content

v0.0.10

@chughtapan chughtapan tagged this 08 May 08:13
v0.0.9's published bundle included rules/utils/typed-linter/rule-tester.js,
which imports @typescript-eslint/rule-tester (devDependency only). Any
consumer running ESLint with the plugin loaded crashed with
`ERR_MODULE_NOT_FOUND: Cannot find package '@typescript-eslint/rule-tester'`.

Hot fix:
- Move rule-tester.ts into typed-linter/test-support/ (excluded from
  the build). The typed-linter/index.ts barrel now exports only
  requireServices; createTypedRuleTester stays importable by this
  plugin's own tests via the test-support path.
- Update the smoke test and runpromise-requires-scoped.test.ts to
  the new import paths.
- Inline the Options types for no-raw-sql and prefer-effect-platform
  (named-but-unexported interfaces tripped TS4023 and knip together;
  inlining as type aliases inside the createRule generic satisfies both).

Bump to v0.0.10. CHANGELOG updated.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Assets 2
Loading