Security News
npm Updates Search Experience with New Objective Sorting Options
npm has a revamped search experience with new, more transparent sorting options—Relevance, Downloads, Dependents, and Publish Date.
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.
Security News
npm has a revamped search experience with new, more transparent sorting options—Relevance, Downloads, Dependents, and Publish Date.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.