
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
remark-lint-no-repeat-punctuation
Advanced tools
remark lint plugin that will warn when multiple punctuations found in series.
Warn when punctuations are used repeatedly. By default, following punctuations are only allowed to be appeared alone:
!
, !
, ~
, ~
, .
, 。
, ,
, ,
, ·
, ?
, ?
.
valid.md
In
好好学习,天天向上!
Out
No messages.
invalid.md
In
好好学习,天天向上!!!
好好学习,天天向上~~~
好好学习,天天向上。。。
好好学习,天天向上???
Out
input.md:1:11: Should not repeat "!"
input.md:1:12: Should not repeat "!"
input.md:2:11: Should not repeat "~"
input.md:2:12: Should not repeat "~"
input.md:3:11: Should not repeat "。"
input.md:3:12: Should not repeat "。"
input.md:4:11: Should not repeat "?"
input.md:4:12: Should not repeat "?"
npm install remark-lint-no-repeat-punctuation
You probably want to use it on the CLI through a config file:
...
"remarkConfig": {
"plugins": [
...
"remark-lint",
+ "remark-lint-no-repeat-punctuation",
...
]
}
...
Or use it on the CLI directly
remark -u remark-lint -u remark-lint-no-repeat-punctuation readme.md
Or use this on the API:
var remark = require('remark');
var report = require('vfile-reporter');
remark()
.use(require('remark-lint'))
+ .use(require('remark-lint-no-repeat-punctuation'))
.process('_Emphasis_ and **importance**', function (err, file) {
console.error(report(err || file));
});
FAQs
remark lint plugin that will warn when multiple punctuations found in series.
The npm package remark-lint-no-repeat-punctuation receives a total of 580 weekly downloads. As such, remark-lint-no-repeat-punctuation popularity was classified as not popular.
We found that remark-lint-no-repeat-punctuation 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.