1.0.18 • Published 7 months ago
@maxchang/eslint-config v1.0.18
@maxchang/eslint-config
Max Chang's ESLint config preset, is just a personalized version of @antfu/eslint-config, for personal use.
See usage and details in @antfu/eslint-config.
Usage
pnpm i -D eslint @maxchang/eslint-configCreate eslint.config.mjs in your project root:
// eslint.config.mjs
import defineConfig from '@maxchang/eslint-config'
export default defineConfig()Convention
- Based on
@antfu/eslint-config - Auto fix for formatting, enable formatters by default(HTML, CSS, Markdown).
- Style principle: Minimal for reading, stable for diff, consistent
- 4 spaces for indentation (except for JSON)
- Sorted imports, dangling commas
- Single quotes, no semi
- Using ESLint Stylistic
VSCode Config Reference
Auto fix on save & use eslint as formatter
LICENSE
1.0.18
7 months ago
1.0.17
9 months ago
1.0.16
9 months ago
1.0.15
11 months ago
1.0.14
12 months ago
1.0.13
1 year ago
1.0.12
1 year ago
1.0.11
1 year ago
1.0.9
1 year ago
1.0.10
1 year ago
1.0.8
1 year ago
1.0.7
1 year ago
1.0.6
1 year ago
1.0.5
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.2
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago