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-plugin-antfu
Advanced tools
eslint-plugin-antfu is a collection of ESLint rules and configurations tailored for Antfu's coding style. It helps enforce consistent code quality and style in JavaScript and TypeScript projects.
Stylistic Rules
This configuration extends the recommended ruleset provided by eslint-plugin-antfu, which includes stylistic rules to ensure code consistency and readability.
module.exports = {
extends: [
'plugin:antfu/recommended'
]
};
TypeScript Support
This configuration extends the recommended ruleset and adds TypeScript-specific rules to enforce best practices and catch common errors in TypeScript code.
module.exports = {
extends: [
'plugin:antfu/recommended',
'plugin:antfu/typescript'
]
};
Vue.js Support
This configuration extends the recommended ruleset and adds Vue.js-specific rules to ensure best practices and consistency in Vue.js projects.
module.exports = {
extends: [
'plugin:antfu/recommended',
'plugin:antfu/vue'
]
};
eslint-plugin-standard provides a set of rules based on JavaScript Standard Style. It focuses on simplicity and avoiding configuration, making it a good choice for projects that want a widely accepted style guide without much customization.
eslint-plugin-prettier integrates Prettier into ESLint. It enforces code formatting rules defined by Prettier, ensuring that code is consistently formatted according to Prettier's opinionated style.
eslint-plugin-airbnb provides a set of rules based on Airbnb's JavaScript style guide. It is one of the most popular ESLint configurations and is known for its comprehensive and strict ruleset.
FAQs
Anthony extended ESLint rules
We found that eslint-plugin-antfu demonstrated a healthy version release cadence and project activity because the last version was released less than 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.