New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@linthtml/linthtml

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@linthtml/linthtml - npm Package Versions

1
10

0.6.3

Diff

Changelog

Source

v0.6.3

Fix 🛠️

  • Rule indent-width no longer report an error for such HTML
<script src="http://link.com"></script>
kamikillerto
published 0.7.0-beta.2 •

Changelog

Source

v0.7.0-beta.2

Fix 🛠️

  • Correctly define --print-config option with meow
kamikillerto
published 0.6.2 •

Changelog

Source

v0.6.2

Fix 🛠️

  • Correctly define --print-config option with meow
kamikillerto
published 0.7.0-beta.1 •

Changelog

Source

v0.7.0-beta.1

Refactor 🧰

Move nested rules into their own folder. The code for rules like indent-width, indent-style... are no longer mixed in the files.

kamikillerto
published 0.6.1 •

Changelog

Source

v0.6.1

Fix 🛠️

  • Rule input-req-label no longer report an error for input with type "hidden".
  • Rule input-req-label no longer report an error for input with type "button" when the attribut value has a non empty value.
kamikillerto
published 0.6.0 •

Changelog

Source

v0.6.0

Features 🚀

Shareable configuration

It's now possible to use and extends shareable configurations in LintHTML. Shareable configuration can be extended in a .linthtmlrc* file using the keyword extends.

{
  "extends": "my-linthtml-config",
  "rules": {
    // ...
  }
}

⚠ Shareable configuration can only be used with the new config format.

To learn more about shareable configuration and how to use them you can read the documentation.

New Inline instructions

It's now possible to enable/disable rules by using linthml-disable and linthtml-enable in a document. There's a complete documentation about this new inline instruction in the README.

Improvements 💅

Some rules error messages have been improved to give more explanations about the problem.

Refactor 🧰

kamikillerto
published 0.5.2 •

Changelog

Source

v0.5.2

Fix 🛠️

  • rule attr-new-line, don't report errors when there's one attribute per line and rule config is 0 or +0 (match the rule documentation)
kamikillerto
published 0.6.0-beta.3 •

Changelog

Source

v0.6.0-beta.3

Features 🚀

New Inline instructions

It's now possible to enable/disable rules by using linthml-disable and linthtml-enable in a document. There's a complete documentation about this new inline instruction in the README.

Improvements 💅

Some rules error messages have been improved to give more explanations about the problem.

Fix 🛠️

  • Doctype position is now correctly extracted and no longer messes with inline configurations when there's an inline config before the doctype.
  • Rules class-style, id-style, id-class-no-ad, id-no-dup, and id-class-style no longer crash when there's no value for id and class attributes.
kamikillerto
published 0.6.0-beta.2 •

Changelog

Source

v0.6.0-beta.2

Refactor 🧰

kamikillerto
published 0.6.0-beta.1 •

Changelog

Source

v0.6.0-beta.1

Features 🚀

Shareable configuration

It's now possible to use and extends shareable configurations in LintHTML. Shareable configuration can be extended in a .linthtmlrc* file using the keyword extends.

{
  "extends": "my-linthtml-config",
  "rules": {
    // ...
  }
}

⚠ Shareable configuration can only be used with the new config format.

To learn more about shareable configuration and how to use them you can read the documentation.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc