Socket
Socket
Sign inDemoInstall

eslint-plugin-antfu

Package Overview
Dependencies
Maintainers
1
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-antfu

Anthony extended ESLint rules


Version published
Weekly downloads
128K
increased by5.11%
Maintainers
1
Weekly downloads
 
Created

What is eslint-plugin-antfu?

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.

What are eslint-plugin-antfu's main functionalities?

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'
  ]
};

Other packages similar to eslint-plugin-antfu

FAQs

Package last updated on 12 Aug 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc