Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
eslint-config-typestrict
Advanced tools
Squash bugs before shipping them with TypeScript and ESLint!
ESLint config focused on maximizing type safety
npm install --save-dev @typescript-eslint/eslint-plugin eslint-plugin-sonarjs eslint-config-typestrict
👉 If you still use TSLint please use typestrict@1
In your .eslintrc.json
:
{
"extends": "typestrict"
// ... add here your own rules
}
Unfortunately, you need to install plugins that we depend on manually: @typescript-eslint/eslint-plugin
, eslint-plugin-sonarjs
Remember to use strict
compiler setting in tsconfig.json
!
All rules in this config are focused on catching bugs in your code and be as not annoying as possible. They don't care about your code style or formatting.
TypeStrict
combines rules from various rule sets: typescript-eslint,
sonarJS,
"check-parameters"
and {"ignore-pattern": "^_" }
){"argsIgnorePattern": "^_"}
Do you have idea for new rule to be added? You don't agree with one of rules included? Feel free to create issue / PR.
Logo by @codeandcats.
MIT by Krzysztof Kaczor
FAQs
ESLint config focused on maximizing type safety
We found that eslint-config-typestrict 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
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.