mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-26 01:36:03 +03:00
[PR #1015] [CLOSED] Add missing parsers property to RuleParams #3014
Labels
No labels
bug
enhancement
enhancement
enhancement
fixed in next
fixed in next
fixed in next
new rule
new rule
new rule
pull-request
question
refactoring
refactoring
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/markdownlint#3014
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/DavidAnson/markdownlint/pull/1015
Author: @Lehoczky
Created: 10/21/2023
Status: ❌ Closed
Base:
next← Head:next-add-missing-prop📝 Commits (1)
1aa61e6Add missingparsersproperty toRuleParams📊 Changes
2 files changed (+37 additions, -1 deletions)
View changed files
📝
lib/markdownlint.d.ts(+23 -1)📝
lib/markdownlint.js(+14 -0)📄 Description
📚Description
I've found that
RuleParamstype was missing theparsersproperty while playing around with the code.What do you think about using type hints in rule declarations like it is done in ESLint? It would elevate the developer experience when working with rules not just because of the type checking, but because of the added autocompletion and better syntax highlighting:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.