
Research
/Security News
PolinRider Spreads Through Compromised GitHub Accounts and Packagist
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.
@htmllinter/basic-standard
Advanced tools
basic standard for htmllinter used for setting the standard the config
basic rules for htmllinter which are used to setting the standard/type using standard property of htmllinter.config.js
latest version 0.0.1
$ npm install @htmllinter/core @htmllinter/basic-standard --save-dev
in your htmllinter.config.js file
module.exports = {
standard: require('@htmllinter/basic-standard'),
};
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-standard receives a total of 2 weekly downloads. As such, @htmllinter/basic-standard popularity was classified as not popular.
We found that @htmllinter/basic-standard 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.

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.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.

Company News
Allow myself to introduce... myself.