Upgrade remark v15 - #6
Merged
Merged
Conversation
- Upgrade remark from ^14.0.3 to ^15.0.1 - Upgrade unified from ^10.1.2 to ^11.0.5 - Upgrade remark-cli from ^11.0.0 to ^12.0.1 - Update all remark-lint plugins to latest versions - Update all retext plugins to latest versions - Remove incompatible plugins (spaces-around-number, spaces-around-word) - Fix TypeScript type issue with Preset['settings']
- Test config loads without errors - Test frontmatter preservation - Test GFM tables and task lists - Test formatting rules (dashes, fenced code blocks) - Test lint rules (heading length, case-police, shell dollars) - Update snapshots
- Fork remark-lint-spaces-around-number as local plugin - Fork remark-lint-spaces-around-word as local plugin - Update both to use unified-lint-rule v3 API - Add dependencies: unified-lint-rule, unist-util-visit, unist-util-generated - Add tests for both plugins - Add dev deps: @types/unist, vfile
- Convert spaces-around-number from linter to auto-fix transformer - Convert spaces-around-word from linter to auto-fix transformer - Use two-pass regex replacement to handle both sides correctly - Remove unused unified-lint-rule dependency - Update tests to verify auto-fix behavior instead of warnings
- Plugins now both auto-fix and report issues - Report messages include the specific text that needs spacing - Tests verify both auto-fix behavior and warning reports - No false reports when spaces already exist
- Add reference to original remark-lint-spaces-around-number repo - Add reference to original remark-lint-spaces-around-word repo - Credit original author LaySent
- Create test/plugins/spaces-around-number.test.ts - Create test/plugins/spaces-around-word.test.ts - Remove plugin tests from test/main.test.ts - Add additional edge case tests for decimal numbers and percentages
- snapshot-release.yml: trigger on workflow_dispatch with branch selection - Update checkout action to v4 with dynamic ref - Add branch options for manual snapshot release selection
- Change input type from choice to string - Users can now enter any branch name for snapshot releases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.