← All projects
Project record1 mention
Originally shared on Hacker News

Ruley Linter

A simple HTML linter that lets users specify validators on tags of their choice, such as running a regex against an attribute's value or text node, enforcing min/max attribute length, marking attributes as required or blacklisted, and whitelisting or blacklisting allowed attribute values.

Last shared
01 / The problem

What it addresses

Built out of frustration with an electronics shop chain's contradictory requirements when preparing a product description HTML for the author's company's product.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Ruley Linter

    A simple HTML linter that lets users specify validators on tags of their choice, such as running a regex against an attribute's value or text node, enforcing min/max attribute length, marking attributes as required or blacklisted, and whitelisting or blacklisting allowed attribute values.

    Problem: Built out of frustration with an electronics shop chain's contradictory requirements when preparing a product description HTML for the author's company's product.

    Posted by @worldwidepaniel · Original source ↗

    Source text · @worldwidepaniel · · Source ↗

    Built a very simple HTML linter. As of now You can specify those validators on a tags of your choice: - Run a regex against a attribute's value/text node - Min/max length a attribute - Make a attribute required/blacklist it - Make a whitelist/blacklist of allowed values for a attribute https://github.com/worldwidepaniel/ruley-linter