
Security News
Lovable’s OJ Rewrites Vite’s Dev Server in Rust as AI Lowers the Cost of Forking Open Source
Lovable’s OJ rewrites Vite’s dev server in Rust, reducing memory use and preview times as AI lowers the cost of open source reimplementation.
@htmllinter/basic-rules
Advanced tools
basic standard for htmllinter used for setting the standard the config
this package contains rules for htmllinter
Comes by default with @htmllinter/basic-config
npm install @htmllinter/core @htmllinter/basic-rules --save-dev
in your htmllinter.config.js file
module.exports = {
plugins: [require('@htmllinter/basic-rules')],
};
@htmllinter/basic-confignpm install @htmllinter/core @htmllinter/basic-config --save-dev
in your htmllinter.config.js file
module.exports = {
extend: [require('@htmllinter/basic-config')],
};
no-empty-tagThis rule throws error when there is an empty html tag used.
example
<a href="">click here</a>
<p></p>
Here, the p tag is empty. It will throw error like this.
┌────────────────────────────────┬──────────────┐
│ Message │ Rule Name │
├────────────────────────────────┼──────────────┤
│ the tag < p > has no content. │ no-empty-tag │
└────────────────────────────────┴──────────────┘
no-duplicate-idThis rule throws error when there are more than one id of same value being declared.
example
<a id="sameID">adMy First Headings</a>
<h3 id="sameID">My First Heading</h3>
here, the sameID in h3 is mark as duplicate
┌───────────────────────────┬─────────────────┐
│ Message │ Rule Name │
├───────────────────────────┼─────────────────┤
│ duplicate ids sameID @ h3 │ no-duplicate-id │
└───────────────────────────┴─────────────────┘
no-bool-true-explicit-defineThis rule will throw error when attributes as valued as true like this `
example
<h3 enable="true">My First Heading</h3>
output
┌─────────────────────────────────────────────────────────────────────────────────────────────────────────┬──────────────────────────────┐
│ Message │ Rule Name │
├─────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────┤
│ the attribute "enable" seems to be boolean with value "true",please conside using "<h3 enable>...</h3>" │ no-bool-true-explicit-define │
│ │ │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────┴──────────────────────────────┘
More rules will be added soon.
Please contribute with correcting the existing rules or by adding a new rule
@htmllinter/basic-standardPlease create an issue with Title
[New Rule][Basic]: <Rule-Name>
We will discuss about the possibility in that issue and you can be the champion of implement it :tada:
FAQs
basic standard for htmllinter used for setting the standard the config
The npm package @htmllinter/basic-rules receives a total of 14 weekly downloads. As such, @htmllinter/basic-rules popularity was classified as not popular.
We found that @htmllinter/basic-rules 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.

Security News
Lovable’s OJ rewrites Vite’s dev server in Rust, reducing memory use and preview times as AI lowers the cost of open source reimplementation.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.