Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@antfu/eslint-config

Package Overview
Dependencies
Maintainers
0
Versions
287
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antfu/eslint-config

Anthony's ESLint config

  • 3.4.0
  • npm
  • Socket score

Version published
Weekly downloads
78K
decreased by-40.29%
Maintainers
0
Weekly downloads
 
Created

What is @antfu/eslint-config?

@antfu/eslint-config is a comprehensive ESLint configuration package designed to streamline the process of setting up linting for JavaScript and TypeScript projects. It includes a set of predefined rules and plugins that enforce code quality and consistency, making it easier to maintain and scale codebases.

What are @antfu/eslint-config's main functionalities?

Basic JavaScript Linting

This feature provides a basic set of linting rules for JavaScript projects. By extending the @antfu configuration, you get a well-rounded set of rules that enforce best practices and code quality.

{
  "extends": "@antfu"
}

TypeScript Support

This feature extends the basic JavaScript linting to include TypeScript support. By specifying the TypeScript configuration file, you can ensure that your TypeScript code adheres to the same quality standards.

{
  "extends": "@antfu",
  "parserOptions": {
    "project": "./tsconfig.json"
  }
}

Vue.js Support

This feature adds support for linting Vue.js projects. By extending both the base and Vue-specific configurations, you can enforce consistent coding standards across your Vue components.

{
  "extends": [
    "@antfu",
    "@antfu/eslint-config-vue"
  ]
}

Prettier Integration

This feature integrates Prettier with ESLint, allowing you to use Prettier for code formatting while still enforcing ESLint rules. This ensures that your code is not only correct but also consistently formatted.

{
  "extends": [
    "@antfu",
    "@antfu/eslint-config-prettier"
  ]
}

Other packages similar to @antfu/eslint-config

Keywords

FAQs

Package last updated on 07 Sep 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