Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
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.
Anthony extended ESLint rules. For antfu/eslint-config.
MIT License © 2023-PRESENT Anthony Fu
FAQs
Anthony extended ESLint rules
The npm package eslint-plugin-antfu receives a total of 136,242 weekly downloads. As such, eslint-plugin-antfu popularity was classified as popular.
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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.