v4.1.0
New features
New Parser
- Supporting for Alpine.js
- Parser:
@markuplint/alpine-parser
- Spec:
@markuplint/alpine-parser/spec
- Parser:
New Rules
- Add
heading-levels
rule - Add
no-consecutive-br
rule - Add
no-duplicate-dt
rule - Add
neighbor-popovers
rule
Update Specs
- Add the
privacy-policy
link type to thelink
element - Add the
onpagereveal
event attribute to thebody
element - Add
deprecated
flag to theusemap
attribute of theobject
element
Update Preset Config
- Remove to require
decoding=async
from presetmarkuplint:performance
- Add "No nested same
<details>
name group" to preset - Add "Require
title
attr in<input pattern>
" to preset - Add new rules(
heading-levels
,no-consecutive-br
,no-duplicate-dt
, and,neighbor-popovers
rules to preset
Fixed Bugs
- Fix element type detection in Astro and Vue
What's Changed
- Fix element type detection by @YusukeHirao in #1452
- Add
@markuplint/svelte-spec
by @YusukeHirao in #1453 - Remove to require
decoding=async
from presetmarkuplint:performance
by @YusukeHirao in #1456 - Move
character-reference
rule frommarkuplint:recommended
preset tomarkuplint:recommended-static-html
by @YusukeHirao in #1457 - Supporting for Alpine.js by @YusukeHirao in #1459
- Add
heading-levels
rule by @YusukeHirao in #1463 - Add the
privacy-policy
link type to thelink
element by @YusukeHirao in #1464 - Add the
onpagereveal
event attribute to thebody
element by @YusukeHirao in #1465 - Add "No nested same
<details>
name group" to preset by @YusukeHirao in #1466 - Add "Require
title
attr in<input pattern>
" to preset by @YusukeHirao in #1467 - Add
no-consecutive-br
rule by @YusukeHirao in #1468 - Add
no-duplicate-dt
rule by @YusukeHirao in #1469 - Add
neighbor-popovers
rule by @YusukeHirao in #1470 - Updates 2024-02-12 by @YusukeHirao in #1471
Full Changelog: v4.0.3...v4.1.0