Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
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
The npm package eslint-plugin-antfu receives a total of 61,308 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.