Socket
Book a DemoInstallSign in
Socket

@xiaohe01/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xiaohe01/eslint-config

✌️ ESLint config preset for xiaohe (forked from antfu/eslint-config)

latest
Source
npmnpm
Version
3.1.0
Version published
Maintainers
1
Created
Source

xiaohe-eslint-config

✌️ ESLint config preset for xiaohe (forked from antfu/eslint-config@6.0.0)

github stars npm version npm downloads JSDocs License

🚁 Installation

# pnpm
pnpm add -D eslint @xiaohe01/eslint-config

# yarn
yarn add --dev eslint @xiaohe01/eslint-config

# npm
npm install -D eslint @xiaohe01/eslint-config

[!WARNING] Require Node.js >= 18.18.0, and ESLint >= 9.5.0.

🛹 Usage

Create eslint.config.mjs in your project root

import defineConfig from "@xiaohe01/eslint-config";

export default defineConfig();

[!NOTE] If you want to use TypeScript configuration files, please refer to typescript-configuration-files.

Add script for package.json, for example

{
  "scripts": {
    "lint": "eslint",
    "lint:fix": "eslint --fix"
  }
}

For more information, please refer to antfu/eslint-config.

🐼 Comparing to antfu/eslint-config

Most of the rules are the same, but there are some differences:

  • I prefer to use "" and ;.
  • Some different rules for uniapp.
  • Maybe stricter and simpler.

🏆 License

MIT LICENSE

Keywords

eslint-config

FAQs

Package last updated on 27 Oct 2025

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