
Security News
pnpm 11.10 Hardens Registry Authentication to Block Token Redirection
pnpm 11.10 hardens registry auth to block token redirection, tightens pack-app and deploy, and makes the Rust port (v12) installable.
coc-htmlhint
Advanced tools
fork from a Microsoft/vscode-htmlhint | HTMLHint
Integrates the HTMLHint static analysis tool into coc.nvim.
:CocInstall coc-htmlhint
htmlhint.enable: Enable coc-htmlhint extension, default: truehtmlhint.documentSelector: The associated document types to be linted, default: ["html", "htm"]htmlhint.options: The htmlhint options object to provide args to the htmlhint command, default: {}The coc-htmlhint extension will attempt to use the locally installed HTMLHint module (the project-specific module if present, or a globally installed HTMLHint module). If a locally installed HTMLHint isn't available, the extension will use the embedded version.
The HTMLHint extension uses the default rules provided by HTMLHint.
{
"tagname-lowercase": true,
"attr-lowercase": true,
"attr-value-double-quotes": true,
"doctype-first": true,
"tag-pair": true,
"spec-char-escape": true,
"id-unique": true,
"src-not-empty": true,
"attr-no-duplication": true,
"title-require": true,
"empty-tag-not-self-closed": true
}
If you'd like to modify the rules, you can provide a .htmlhintrc file in the root of your project folder with a reduced ruleset or modified values.
You can learn more about rule configuration at the HTMLHint Usage page.
By default, HTMLHint will run on any files associated with the "html" language service (i.e., ".html" and ".htm" files). If you'd like to use the HTMLHint extension with additional file types, you have two options:
Set g:coc_filetype_map in your .vimrc or init.vim file. :h g:coc_filetype_map
.vimrc/init.vim:
let g:coc_filetype_map = {
\ 'htmldjango': 'html',
\ 'blade': 'html',
\ 'twig': 'html',
\ 'jst': 'html',
\ }
For example, if you want HTMLHint to process .twig files, you would use "twig". Note that with this configuration, you need to open an html file first to activate the HTMLHint extension. Otherwise, you won't see any linter errors, (the extension is hard-coded to activate when the html language service activates).
coc-settings.json:
{
"htmlhint.documentSelector": [
"html",
"twig"
]
}
MIT
This extension is built with create-coc-extension
FAQs
Integrates the HTMLHint static analysis tool into coc.nvim
The npm package coc-htmlhint receives a total of 8 weekly downloads. As such, coc-htmlhint popularity was classified as not popular.
We found that coc-htmlhint demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
pnpm 11.10 hardens registry auth to block token redirection, tightens pack-app and deploy, and makes the Rust port (v12) installable.

Security News
/Research
Socket uncovered 17 malicious npm and PyPI packages typosquatting Paysafe, Skrill, and Neteller SDKs to steal developer secrets.

Security News
Node.js is debating whether AI-driven security report volume warrants moving more vulnerability reports into public workflows.