markuplint

An HTML linter for all markup developers.

MIT License

Downloads
60K
Stars
533
Committers
36
markuplint - v4.8.1 Latest Release

Published by YusukeHirao 6 months ago

What's Changed

New Features

Dependency Updates

Full Changelog: https://github.com/markuplint/markuplint/compare/v4.8.0...v4.8.1

markuplint - v4.8.0

Published by YusukeHirao 6 months ago

What's Changed

New Features

Dependency Updates

Full Changelog: https://github.com/markuplint/markuplint/compare/v4.7.0...v4.8.0

markuplint - v4.7.0

Published by YusukeHirao 6 months ago

New Features

  • Add the new overrideMode option #1583
  • Add conditionalChildNodes API as experimental to Nodes #1593
  • Add evaluateConditionalChildNodes option as experimental to permitted-contents rule #1630

We have now experimentally developed the ability to detect code structures with conditional branching. Currently, it only supports Svelte.

<ul>
  {#each items as item}
    <span>{item}</span>
  {/each}
  <li>default item</li>
</ul>

In this case, the <ul> element ends up containing <span> elements directly underneath it, which results in an invalid HTML structure.

New Specs

  • Add onscrollend event attribute #1594

Fixed Bugs

  • Fix the for attribute type of the output element #1616

What's Changed

Full Changelog: https://github.com/markuplint/markuplint/compare/v4.6.1...v4.7.0

markuplint - v4.6.1

Published by YusukeHirao 6 months ago

Fixed Bugs

  • Fix issue with parsing TypeScript code in attributes #1581

Experimental Release

What's Changed

Full Changelog: https://github.com/markuplint/markuplint/compare/v4.6.0...v4.6.1

markuplint - v4.6.0

Published by YusukeHirao 6 months ago

New Features

Fixed Bugs

  • Add the value attribute to the select element in Svelte #1567
  • Correct implicit roles of HTML elements in ARIA 1.2 by #1570
  • Fix fragment shorthand syntax support in Astro by #1571
  • Fix parse errors related to quotations and scripts in attribute #1573

What's Changed

Full Changelog: https://github.com/markuplint/markuplint/compare/v4.5.0...v4.6.0

markuplint - v4.5.0

Published by YusukeHirao 7 months ago

Re-architecture

  • Separate category information into individual meta.js files for each rule #1554

Fixed Bugs

  • Define explicit return types to prevent invalid relative paths in d.ts files during TS compilation #1552
  • Fix path about drive letter for Windows #1526
  • Fix translation #1558

What's Changed

New Contributors

Full Changelog: https://github.com/markuplint/markuplint/compare/v4.4.0...v4.5.0

markuplint - v4.4.0

Published by YusukeHirao 7 months ago

Update specs

  • Add the writingsuggestions attribute #1538

Fixed Bugs

  • Fix contentModel of br #1520
  • Fix false positives and messages for ARIA state attribute warnings #1524
  • Support for TypeScript v5.4 #1522
  • Support Node.js v21 #1543

What's Changed

Full Changelog: https://github.com/markuplint/markuplint/compare/v4.3.0...v4.4.0

markuplint - v4.3.0

Published by YusukeHirao 8 months ago

Update specs

  • Add onpageswap event attribute to the body element #1510
  • Add link type expect to the rel attribute for the link #1512

What's Changed

Full Changelog: https://github.com/markuplint/markuplint/compare/v4.2.0...v4.3.0

markuplint - v4.2.0

Published by YusukeHirao 8 months ago

New features

  • Add checkingDeprecatedRole option to the wai-aria rule

Fixed Bugs

  • Fix Svelte parser #1499
  • Fix getting accessible name from placeholder attribute #1501
  • Fix Permitted Content for SVG filter element #1503

Update specs

  • Add the browsingtopics attribute as experimental to the iframe element #1500

What's Changed

New Contributors

Full Changelog: https://github.com/markuplint/markuplint/compare/v4.1.1...v4.2.0

markuplint - v4.1.1

Published by YusukeHirao 8 months ago

Update specs

Add shadowrootclonable attribute to the template element #1493

Fixed Bugs

  • Fix parsing of preprocessor specific nodes that failed as comment nodes #1492

What's Changed

New Contributors

Full Changelog: https://github.com/markuplint/markuplint/compare/v4.1.0...v4.1.1

markuplint - v4.1.0

Published by YusukeHirao 9 months ago

New features

New Parser

  • Supporting for Alpine.js
    • Parser: @markuplint/alpine-parser
    • Spec: @markuplint/alpine-parser/spec

New Rules

Update Specs

  • Add the privacy-policy link type to the link element
  • Add the onpagereveal event attribute to the body element
  • Add deprecated flag to the usemap attribute of the object element

Update Preset Config

Fixed Bugs

  • Fix element type detection in Astro and Vue

What's Changed

Full Changelog: https://github.com/markuplint/markuplint/compare/v4.0.3...v4.1.0

markuplint - v4.0.3

Published by YusukeHirao 9 months ago

Fixed Bugs

Full Changelog: https://github.com/markuplint/markuplint/compare/v4.0.2...v4.0.3

markuplint - v4.0.2

Published by YusukeHirao 9 months ago

Fixed Bugs

Full Changelog: https://github.com/markuplint/markuplint/compare/v4.0.1...v4.0.2

markuplint - v4.0.1

Published by YusukeHirao 9 months ago

Fixed Bugs

Full Changelog: https://github.com/markuplint/markuplint/compare/v4.0.0...v4.0.1

markuplint - v4.0.0

Published by YusukeHirao 9 months ago

New features

  • Add --include-node-modules option to CLI #1236
  • New options of the use-list rule #1237
    • noPrev: Consider it a list if the text containing characters is the first child of the element.
    • prevElement: Consider it a list even if the text containing characters appears as the node following the element.
    • prevComment: Consider it a list even if the text containing characters appears as the node following a comment.
    • prevCodeBlock: Consider it a list even if the text containing characters appears as the node following a special block.
  • Support CRLF #1291
  • Supports the as attribute #1356
  • Support legacy SVG transform attribute value syntax #1358
  • Improve parsing a complex attribute value includes tags #1362
  • Add @markuplint/svelte-parser/kit #1363
  • Add targetLanguages to VS Code extension settings #1229
  • Renewal Playground #973

Update specs

  • Remove <search role=search> from preset #1210
  • Update the template element #1274
    • Add the shadowrootdelegatesfocus attribute
    • Add the shadowrootmode attribute
  • Update the details element #1275
  • Update the dirname attribute of the input element #1276
  • Add the terms-of-service link type #1277
  • Add the form attribute to the meter element #1130
  • Add the dirname attribute to the textarea element #1130
  • Update the xlink:href attribute to deprecated #1130
  • Add a description and categories to the search element #1130
  • Remove hreflang, name, and nohref attribute from the area element #1208
  • Remove the experimental flag from the disableremoteplayback attribute #1293
  • Remove the nonStandard flag from the autocapitalize attribute #1293
  • Remove the experimental flag from the fetchpriority attribute #1293
  • Remove associationlist, associationlistitemkey, and associationlistitemvalue roles #1393 (w3c/aria#2095)
  • Remove experimental and nonStandard flags from the controlslist attribute #1407
  • Remove the autocomplete attribute from the button element #1407
  • Add the width attribute as deprecated to the colgroup element #1407
  • Remove the nowrap attribute from the dd element #1412
  • Remove experimental flag from the disablepictureinpicture attribute of the video element #1412

Breaking Changes

Commits

New Contributors

Full Changelog: https://github.com/markuplint/markuplint/compare/v3.15.0...v4.0.0

markuplint - v3.15.0

Published by YusukeHirao 11 months ago

New features

Updates and changes

  • Update specs by @YusukeHirao in https://github.com/markuplint/markuplint/pull/1278
    • Add the shadowrootmode and shadowrootdelegatesfocus attributes to the template element
    • Add the name attribute to the details element
    • Update the dirname attribute of the input element
    • Add the terms-of-service link type

Full Changelog: https://github.com/markuplint/markuplint/compare/v3.14.0...v3.15.0

markuplint - v3.14.0

Published by YusukeHirao about 1 year ago

Updates and changes

Fixed Bugs

Full Changelog: https://github.com/markuplint/markuplint/compare/v3.13.0...v3.14.0

markuplint - v3.13.0

Published by YusukeHirao about 1 year ago

New features

Updates and changes

Fixed Bugs

Full Changelog: https://github.com/markuplint/markuplint/compare/v3.12.1...v3.13.0

markuplint - v3.12.1

Published by YusukeHirao about 1 year ago

Fixed Bugs

VS Code

Documents

New Contributors

Full Changelog: https://github.com/markuplint/markuplint/compare/v3.12.0...v3.12.1

markuplint - v4.0.0-alpha

Published by YusukeHirao about 1 year ago

New features

  • Support ES Module @YusukeHirao in #1107 #1108 #1112
  • Added @markuplint/esm-adapter that is a runner and API for CommonJS

Breaking Changes

Full Changelog: https://github.com/markuplint/markuplint/compare/v3.12.0...v4.0.0-alpha

Package Rankings
Top 3.56% on Npmjs.org
Badges
Extracted from project README
Project Status: Active – The project has reached a stable, usable state and is being actively developed. Gitter npm version npm version npm version npm version npm version npm version npm version npm version npm version npm version npm version npm version npm version
Related Projects