-
Notifications
You must be signed in to change notification settings - Fork 79
fix: handle CR in rules to follow CommonMark spec #493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
f876ba5
1a30634
d74dde4
b427e82
4e83435
f0013e4
d43082e
bc16d7a
db11bb8
3ae48fa
28c9e5b
03268f4
525816f
e24ebf6
a1354f9
fe31286
d7ad457
e0109ab
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This rule already supports CR line endings, so I only refactored the code. |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Motivated by #525, I've simplified the regex a bit. Since (This rule already supports CR line endings, so I only refactored the code.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like the newly released Bun 1.3 now enforces strict dependencies in
package.json
. If we use transitive dependencies like@types/unist
,@types/mdast
, orsemver
, it throws errors:Bun v1.3: https://github.com/oven-sh/bun/releases/tag/bun-v1.3.0
https://github.com/eslint/markdown/actions/runs/18428303631/job/52512384911
So, I've added
@types/unist
,@types/mdast
, andsemver
to the dev dependencies.