Skip to content

fix: support core 2.2.1 not applied fixes - #109

Merged
luojiyin1987 merged 1 commit into
masterfrom
fix/core-2.2.1-not-applied-fixes
Jul 29, 2026
Merged

fix: support core 2.2.1 not applied fixes#109
luojiyin1987 merged 1 commit into
masterfrom
fix/core-2.2.1-not-applied-fixes

Conversation

@luojiyin1987

Copy link
Copy Markdown
Contributor

Summary

Upgrade @lint-md/core to ^2.2.1.

Update CLI test fixtures for the new NotAppliedFix type.

Root cause

Core now requires targetRule and reason in each NotAppliedFix.

CLI tests used the old fixture shape.

TypeScript failed when Jest compiled three test files.

Changes

  • Add a shared makeNotAppliedFix test helper.
  • Add targetRule and reason to test fixtures.
  • Update @lint-md/core to ^2.2.1.

Validation

  • npm run lint
  • npm test
  • npm run test:package

All checks pass with @lint-md/core@2.2.1.

@luojiyin1987
luojiyin1987 merged commit f059ad0 into master Jul 29, 2026
6 checks passed
@luojiyin1987
luojiyin1987 deleted the fix/core-2.2.1-not-applied-fixes branch July 29, 2026 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant