Skip to content

Linter: Allow application/ld+json for html-allowed-script-type rule#1844

Open
xymbol wants to merge 1 commit into
marcoroth:mainfrom
xymbol:allowed-script-type-data-blocks
Open

Linter: Allow application/ld+json for html-allowed-script-type rule#1844
xymbol wants to merge 1 commit into
marcoroth:mainfrom
xymbol:allowed-script-type-data-blocks

Conversation

@xymbol

@xymbol xymbol commented Jul 8, 2026

Copy link
Copy Markdown

application/ld+json is the standard mechanism for embedding JSON-LD structured data, and the HTML specification treats it as an inert data block. Same fix as #1393 / #1413 made for module and importmap.

https://html.spec.whatwg.org/multipage/scripting.html#data-block

@github-actions github-actions Bot added documentation Improvements or additions to documentation linter typescript linter-rule labels Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation linter linter-rule typescript

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant