Skip to content

feat: introduce raw mdast linter #275

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

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

araujogui
Copy link
Member

@araujogui araujogui commented May 20, 2025

Description

Refactors the linter engine to operate directly on raw AST nodes, removing the use of metadata entries.

This expands future linting capabilities and enables more precise issue location reporting.

Validation

npx api-docs-tooling lint -i doc/api/*.md

Related Issues

Related #271

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I have run node --run test and all tests passed.
  • I have check code formatting with node --run format & node --run lint.
  • I've covered new added functionality with unit tests if necessary.

@araujogui araujogui requested a review from a team as a code owner May 20, 2025 00:08
@araujogui
Copy link
Member Author

CC @nodejs/web-infra

Co-authored-by: Aviv Keller <me@aviv.sh>
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.

2 participants