@pionxzh/eslint-config
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

@pionxzh/eslint-config

Forked from antfu/eslint-config

npm

  • Single quotes, no semi
  • Auto fix for formatting (aimed to be used standalone without Prettier)
  • Designed to work with TypeScript, Vue, React out-of-box
  • Lints also for json, yaml, markdown
  • Sorted imports, dangling commas
  • Reasonable defaults, best practices, only one-line of config
  • Respects .gitignore by default
  • ESLint Flat config, compose easily!
  • Using ESLint Stylistic
  • Style principle: Minimal for reading, stable for diff, consistent

Usage

Install

pnpm i -D eslint @pionxzh/eslint-config

Usage

create eslint.config.mjs in your project root:

// eslint.config.mjs
import pionxzh from '@pionxzh/eslint-config'

export default pionxzh()

Extended Reading

Learn more about the context - Why I don't use Prettier.

License

MIT License © 2022-PRESENT Pionxzh

/@pionxzh/eslint-config/

    Package Sidebar

    Install

    npm i @pionxzh/eslint-config

    Weekly Downloads

    20

    Version

    2.0.2

    License

    MIT

    Unpacked Size

    575 kB

    Total Files

    10

    Last publish

    Collaborators

    • pionxzh