2.0.2 • Published 7 days ago

@pionxzh/eslint-config v2.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
7 days ago

@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

2.0.2

7 days ago

2.0.1

7 days ago

2.0.0

7 days ago

1.0.1

7 months ago

1.0.0

7 months ago

0.5.0

10 months ago

0.4.1

10 months ago

0.7.0

8 months ago

0.6.0

9 months ago

0.5.1

10 months ago

0.4.0

11 months ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.1

2 years ago

0.1.0

2 years ago