mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-26 01:36:03 +03:00
[PR #1939] [CLOSED] feat: JSONC schema #1815
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#1815
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/1939
Author: @Zamiell
Created: 2/6/2026
Status: ❌ Closed
Base:
next← Head:fix-jsonc📝 Commits (1)
62911b9chore: squashed 2 commits📊 Changes
3 files changed (+5146 additions, -1 deletions)
View changed files
📝
schema/ValidatingConfiguration.md(+6 -1)📝
schema/build-config-schema.mjs(+11 -0)➕
schema/markdownlint-config-schema-jsonc.json(+5129 -0)📄 Description
The current schemas do not allow trailing commas, which is a problem because in JSONC files, it is optimal to have trailing commas for all the same reasons that you would want trailing commas in your JavaScript/TypeScript files. Furthermore, tools like Prettier will automatically add trailing commas when auto-formatting JSONC files. Thus, I have added a new schema for people to use for JSONC files.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.