Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

htmlhint

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

htmlhint - npm Package Versions

123

0.9.13

Diff

Changelog

Source

0.9.13 (2016-5-1)

add:

  1. change cli parameter: --plugin to --rulesdir
  2. add formatter directory support
  3. add formatters: compact, markdown
  4. add cli parameter:--nocolor, disable color in cli
  5. space-tab-mixed-disabled plugin: add space length require
  6. add empty elements: track,command,source,keygen,wbr
  7. add hint stdin for cli

fix:

  1. report error evidence if tag attrs include \r\n
  2. space-tab-mixed-disabled issue #119
  3. attr name support all w3c defined characters

improve:

  1. Parse inline ruleset after default ruleset
yaniswang
published 0.9.12 •

yaniswang
published 0.9.11 •

yaniswang
published 0.9.10 •

Changelog

Source

ver 0.9.10 (2015-10-12)

add:

  1. attr-unsafe-chars(rule): show unsafe code in message
  2. support glob pattern for cli
  3. support format as custom: json, junit, checkstyle
  4. support plugin: htmlhint --plugin ./plugins/
  5. add rule: inline-style-disabled
  6. add rule: inline-script-disabled

fix:

  1. title-require(rule): report error when <html><title>test</title><head></head><body></body></html>
  2. title-require(rule): report error when <html><head><title></title></head><body></body></html>
yaniswang
published 0.9.9 •

Changelog

Source

ver 0.9.9 (2015-10-9)

add:

  1. add config loaded message to cli log
  2. support async for cli

fix:

  1. close issue: #79, fix exit with 0 when hint errors
  2. fix end event col
  3. attr-unsafe-chars(rule): exclude \r\n
yaniswang
published 0.9.8 •

Changelog

Source

ver 0.9.8 (2015-10-7)

add:

  1. Search .htmlhintrc in parent directory
  2. Allow comments in json
  3. Support hint any file without .html or .htm extension, just like: htmlhint test.xhtml
  4. Support json raw format in cli
  5. tag-pair(rule): Show the line of the start tag
  6. space-tab-mixed-disabled(rule): Support space and tab mode, for check only space or tab
  7. Make cli logs more clear to people
  8. add rule: title-require, <title> must be present in <head> tag.

fix:

  1. Fix issue: #77 <link rel=icon><link rel=icon>
  2. Made the descriptions and error messages of rules more clear to people
  3. head-script-disabled(rule): No head not result error
yaniswang
published 0.9.7 •

Changelog

Source

0.9.7 (2015-3-8)

fix:

  1. fix 'No such file' issue on mac
  2. head-script-disabled: not match template script
yaniswang
published 0.9.6 •

Changelog

Source

ver 0.9.6 (2014-6-18)

add:

  1. add rule: attr-no-duplication
  2. add rule: space-tab-mixed-disabled
  3. add rule: id-class-ad-disabled
  4. add rule: href-abs-or-rel
  5. add rule: attr-unsafe-chars
  6. add default rule: attr-no-duplication
  7. add inline ruleset support
  8. add test spec: Set false to rule
  9. add point: load default ruleset when use empty ruleset
yaniswang
published 0.9.5 •

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