antfu/eslint-config (@antfu/eslint-config)
### [`v1.1.1`](https://togithub.com/antfu/eslint-config/releases/tag/v1.1.1)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v1.1.0...v1.1.1)
##### 🚀 Features
- CLI for quick scaffolding - by [@injurka](https://togithub.com/injurka), **ivan**, **Injurka** and [@antfu](https://togithub.com/antfu) in [https://github.com/antfu/eslint-config/issues/277](https://togithub.com/antfu/eslint-config/issues/277) [(2ee5a)](https://togithub.com/antfu/eslint-config/commit/2ee5a69)
##### 🐞 Bug Fixes
- Disable `import/newline-after-import` in markdown - by [@antfu](https://togithub.com/antfu) [(23351)](https://togithub.com/antfu/eslint-config/commit/2335199)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v1.1.0...v1.1.1)
### [`v1.1.0`](https://togithub.com/antfu/eslint-config/releases/tag/v1.1.0)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v1.0.0...v1.1.0)
##### 🚨 Breaking Changes
- Move the optional `sort-keys` plugin to `perfectionist`, close [#295](https://togithub.com/antfu/eslint-config/issues/295) - by [@antfu](https://togithub.com/antfu) in [https://github.com/antfu/eslint-config/issues/295](https://togithub.com/antfu/eslint-config/issues/295) [(9fa74)](https://togithub.com/antfu/eslint-config/commit/9fa7426)
##### 🐞 Bug Fixes
- Disable `style/object-property-newline` in favor of `antfu/consistent-list-newline` - by [@antfu](https://togithub.com/antfu) [(2f51b)](https://togithub.com/antfu/eslint-config/commit/2f51b58)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v1.0.0...v1.1.0)
### [`v1.0.0`](https://togithub.com/antfu/eslint-config/releases/tag/v1.0.0)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.43.1...v1.0.0)
### Breaking Changes
- Use [ESLint Flat config](https://eslint.org/docs/latest/use/configure/configuration-files-new), users need to [migrate to the new config style as well](https://togithub.com/antfu/eslint-config#create-config-file)
- `@antfu/eslint-config-*` are packages all dropped, as `@antfu/eslint-config` provides [much better composability](https://togithub.com/antfu/eslint-config#customization) now.
- `@antfu/eslint-config-react` is removed, but JSX formatting support is enabled by default now.
- `ESLINT_TSCONFIG` no longer works, [use the `typescript` option in `eslint.config.js` instead](https://togithub.com/antfu/eslint-config#type-aware-rules)
- Requires ESLint v8
- [Rename plugin prefixes](https://togithub.com/antfu/eslint-config#plugins-renaming)
- `@typescript-eslint/*` -> `ts/`
- `n/*` -> `node/*`
- etc.
***
#### Generated changelog:
##### 🚨 Breaking Changes
- Use flat config - by [@antfu](https://togithub.com/antfu) in [https://github.com/antfu/eslint-config/issues/250](https://togithub.com/antfu/eslint-config/issues/250) [(3ad62)](https://togithub.com/antfu/eslint-config/commit/3ad62d5)
- New config factory instead of presets - by [@antfu](https://togithub.com/antfu) [(9ee68)](https://togithub.com/antfu/eslint-config/commit/9ee683e)
- Rename plugin prefixes for consistency - by [@antfu](https://togithub.com/antfu) [(f31a8)](https://togithub.com/antfu/eslint-config/commit/f31a824)
- De-monorepo - by [@antfu](https://togithub.com/antfu) [(5c3ce)](https://togithub.com/antfu/eslint-config/commit/5c3ce91)
- Use unified stylistic rules - by [@antfu](https://togithub.com/antfu) [(0ce3a)](https://togithub.com/antfu/eslint-config/commit/0ce3a69)
- Make all configs function for consistency and immutability - by [@antfu](https://togithub.com/antfu) [(11e31)](https://togithub.com/antfu/eslint-config/commit/11e3101)
- Rename `typescriptWithLanguageServer` to `typescriptWithTypes` - by [@antfu](https://togithub.com/antfu) [(ffe00)](https://togithub.com/antfu/eslint-config/commit/ffe00e1)
- Set plugin alias of `yml/` to `yaml/` - by [@antfu](https://togithub.com/antfu) [(917dd)](https://togithub.com/antfu/eslint-config/commit/917dd48)
- Fix type aware rules, merge `typescriptWithTypes` to `typescript` - by [@antfu](https://togithub.com/antfu) [(3fae7)](https://togithub.com/antfu/eslint-config/commit/3fae70a)
##### 🚀 Features
- Ship types, and a `combine` util - by [@antfu](https://togithub.com/antfu) [(000a2)](https://togithub.com/antfu/eslint-config/commit/000a236)
- Make it side-effects free - by [@antfu](https://togithub.com/antfu) [(70fc8)](https://togithub.com/antfu/eslint-config/commit/70fc8b6)
- Enable `antfu/consistent-object-newline` - by [@antfu](https://togithub.com/antfu) [(e3b3a)](https://togithub.com/antfu/eslint-config/commit/e3b3ace)
- Support passing flat config to the first arg - by [@antfu](https://togithub.com/antfu) [(ce925)](https://togithub.com/antfu/eslint-config/commit/ce925b4)
- Support reading `.gitignore` by default, close [#254](https://togithub.com/antfu/eslint-config/issues/254) - by [@antfu](https://togithub.com/antfu) in [https://github.com/antfu/eslint-config/issues/254](https://togithub.com/antfu/eslint-config/issues/254) [(2f35d)](https://togithub.com/antfu/eslint-config/commit/2f35dae)
- Expose globs - by [@antfu](https://togithub.com/antfu) [(05073)](https://togithub.com/antfu/eslint-config/commit/05073cd)
- Support rules override, close [#255](https://togithub.com/antfu/eslint-config/issues/255) - by [@antfu](https://togithub.com/antfu) in [https://github.com/antfu/eslint-config/issues/255](https://togithub.com/antfu/eslint-config/issues/255) [(39353)](https://togithub.com/antfu/eslint-config/commit/3935399)
- Granular stylistic control - by [@antfu](https://togithub.com/antfu) [(30c87)](https://togithub.com/antfu/eslint-config/commit/30c870d)
- Add `componentExts` to top level config - by [@antfu](https://togithub.com/antfu) [(2080b)](https://togithub.com/antfu/eslint-config/commit/2080be2)
- Add `eslint-plugin-vitest` - by [@antfu](https://togithub.com/antfu) [(002bb)](https://togithub.com/antfu/eslint-config/commit/002bb3d)
- Use ts parser even for JS, for better language compatibility - by [@antfu](https://togithub.com/antfu) [(e0757)](https://togithub.com/antfu/eslint-config/commit/e0757c4)
- Add `name` for each config item - by [@antfu](https://togithub.com/antfu) [(d4cfe)](https://togithub.com/antfu/eslint-config/commit/d4cfef8)
- Update stylistic plugins - by [@antfu](https://togithub.com/antfu) [(9326e)](https://togithub.com/antfu/eslint-config/commit/9326e10)
- Re-organize tsconfig sort - by [@antfu](https://togithub.com/antfu) [(1261b)](https://togithub.com/antfu/eslint-config/commit/1261b2e)
- Add `style/jsx-quotes` rule - by [@antfu](https://togithub.com/antfu) [(5291c)](https://togithub.com/antfu/eslint-config/commit/5291cc9)
- Ban declarations in ts file - by [@so1ve](https://togithub.com/so1ve) in [https://github.com/antfu/eslint-config/issues/264](https://togithub.com/antfu/eslint-config/issues/264) [(a76fd)](https://togithub.com/antfu/eslint-config/commit/a76fde9)
- Allow customize indent and quotes - by [@antfu](https://togithub.com/antfu) [(bbac1)](https://togithub.com/antfu/eslint-config/commit/bbac132)
- Type support for rules - by [@antfu](https://togithub.com/antfu) [(44745)](https://togithub.com/antfu/eslint-config/commit/4474554)
- Add types for `antfu/` - by [@antfu](https://togithub.com/antfu) [(64e3f)](https://togithub.com/antfu/eslint-config/commit/64e3f8d)
- Bring back `reportUnusedDisableDirectives` - by [@antfu](https://togithub.com/antfu) [(6320c)](https://togithub.com/antfu/eslint-config/commit/6320cef)
- Enable basic jsx stylistic rules, close [#185](https://togithub.com/antfu/eslint-config/issues/185) - by [@antfu](https://togithub.com/antfu) in [https://github.com/antfu/eslint-config/issues/185](https://togithub.com/antfu/eslint-config/issues/185) [(2dfb5)](https://togithub.com/antfu/eslint-config/commit/2dfb5fd)
- Enable `no-import-type-side-effects`, close [#227](https://togithub.com/antfu/eslint-config/issues/227) - by [@antfu](https://togithub.com/antfu) in [https://github.com/antfu/eslint-config/issues/227](https://togithub.com/antfu/eslint-config/issues/227) [(cb4b7)](https://togithub.com/antfu/eslint-config/commit/cb4b7b9)
- Update jsx default config - by [@promise96319](https://togithub.com/promise96319) and [@antfu](https://togithub.com/antfu) in [https://github.com/antfu/eslint-config/issues/281](https://togithub.com/antfu/eslint-config/issues/281) [(987b9)](https://togithub.com/antfu/eslint-config/commit/987b9d8)
- Add optional `sort-keys` plugin - by [@antfu](https://togithub.com/antfu) [(f8ae1)](https://togithub.com/antfu/eslint-config/commit/f8ae1f6)
- Typescript.tsconfigPath array support - by [@rost-git](https://togithub.com/rost-git) and [@antfu](https://togithub.com/antfu) in [https://github.com/antfu/eslint-config/issues/306](https://togithub.com/antfu/eslint-config/issues/306) [(54652)](https://togithub.com/antfu/eslint-config/commit/546526a)
##### 🐞 Bug Fixes
- Move stylistic files - by [@antfu](https://togithub.com/antfu) [(7070d)](https://togithub.com/antfu/eslint-config/commit/7070dc9)
- Stylistic overrides - by [@antfu](https://togithub.com/antfu) [(60746)](https://togithub.com/antfu/eslint-config/commit/6074698)
- Disable `ts/no-invalid-void-type` - by [@antfu](https://togithub.com/antfu) [(db397)](https://togithub.com/antfu/eslint-config/commit/db397b6)
- Improve rules - by [@antfu](https://togithub.com/antfu) [(9ffcf)](https://togithub.com/antfu/eslint-config/commit/9ffcf2b)
- Ship cjs build as well - by [@antfu](https://togithub.com/antfu) [(f0b67)](https://togithub.com/antfu/eslint-config/commit/f0b67fe)
- Disable `comma-dangle` in markdown - by [@antfu](https://togithub.com/antfu) [(34bbd)](https://togithub.com/antfu/eslint-config/commit/34bbd59)
- Install plugins globally for easy overrides - by [@antfu](https://togithub.com/antfu) [(6a72b)](https://togithub.com/antfu/eslint-config/commit/6a72bf5)
- Remove `jsdoc/no-types` rule - by [@antfu](https://togithub.com/antfu) [(91dee)](https://togithub.com/antfu/eslint-config/commit/91dee42)
- Disable type aware rules in markdown - by [@antfu](https://togithub.com/antfu) [(edb7f)](https://togithub.com/antfu/eslint-config/commit/edb7f1a)
- Update `style/quotes` - by [@antfu](https://togithub.com/antfu) [(5f554)](https://togithub.com/antfu/eslint-config/commit/5f554fd)
- Allow `Function` type for `ts/ban-types` - by [@antfu](https://togithub.com/antfu) [(6a4cf)](https://togithub.com/antfu/eslint-config/commit/6a4cfec)
- Disable few rules - by [@antfu](https://togithub.com/antfu) [(4da0b)](https://togithub.com/antfu/eslint-config/commit/4da0b64)
- Disable `jsdoc/valid-types` - by [@antfu](https://togithub.com/antfu) [(d1024)](https://togithub.com/antfu/eslint-config/commit/d102447)
- Ignores - by [@antfu](https://togithub.com/antfu) [(ae3e6)](https://togithub.com/antfu/eslint-config/commit/ae3e6d3)
- Add lockfile glob for bun - by [@rubiin](https://togithub.com/rubiin) in [https://github.com/antfu/eslint-config/issues/262](https://togithub.com/antfu/eslint-config/issues/262) [(7efac)](https://togithub.com/antfu/eslint-config/commit/7efac1b)
- Yaml indent - by [@so1ve](https://togithub.com/so1ve) in [https://github.com/antfu/eslint-config/issues/267](https://togithub.com/antfu/eslint-config/issues/267) [(757bb)](https://togithub.com/antfu/eslint-config/commit/757bb6b)
- Disable `no-restricted-syntax` in d.ts - by [@antfu](https://togithub.com/antfu) [(d98a8)](https://togithub.com/antfu/eslint-config/commit/d98a8c2)
- Enforce name casing for unregistered components - by [@vaibhav11s](https://togithub.com/vaibhav11s) in [https://github.com/antfu/eslint-config/issues/289](https://togithub.com/antfu/eslint-config/issues/289) [(ba704)](https://togithub.com/antfu/eslint-config/commit/ba704e7)
- Improve typescript options type - by [@antfu](https://togithub.com/antfu) [(8b5cb)](https://togithub.com/antfu/eslint-config/commit/8b5cb99)
- Add default `extraFileExtensions` to type aware rules - by [@antfu](https://togithub.com/antfu) [(0a9bc)](https://togithub.com/antfu/eslint-config/commit/0a9bce9)
- Prop names should always use camelCase during declaration. - by [@kaivanwong](https://togithub.com/kaivanwong) in [https://github.com/antfu/eslint-config/issues/293](https://togithub.com/antfu/eslint-config/issues/293) [(1c322)](https://togithub.com/antfu/eslint-config/commit/1c32240)
- Use "source.fixAll.eslint" to avoid builtin autofixes dropping code - by [@Dimava](https://togithub.com/Dimava) in [https://github.com/antfu/eslint-config/issues/299](https://togithub.com/antfu/eslint-config/issues/299) [(33554)](https://togithub.com/antfu/eslint-config/commit/335542e)
- Remove `no-void` rule, close [#298](https://togithub.com/antfu/eslint-config/issues/298) - by [@antfu](https://togithub.com/antfu) in [https://github.com/antfu/eslint-config/issues/298](https://togithub.com/antfu/eslint-config/issues/298) [(90b36)](https://togithub.com/antfu/eslint-config/commit/90b36f1)
- Revert [#289](https://togithub.com/antfu/eslint-config/issues/289) - by [@qin-guan](https://togithub.com/qin-guan) in [https://github.com/antfu/eslint-config/issues/302](https://togithub.com/antfu/eslint-config/issues/302) and [https://github.com/antfu/eslint-config/issues/289](https://togithub.com/antfu/eslint-config/issues/289) [(52b4f)](https://togithub.com/antfu/eslint-config/commit/52b4fe5)
- **jsonc**: Indent config - by [@antfu](https://togithub.com/antfu) [(45e30)](https://togithub.com/antfu/eslint-config/commit/45e302d)
- **jsx**: Turn off `style/jsx-child-element-spacing` to avoid conflicts - by [@antfu](https://togithub.com/antfu) [(f4a07)](https://togithub.com/antfu/eslint-config/commit/f4a07f4)
- **style/quotes**: Disable `avoidEscape` for consistency - by [@antfu](https://togithub.com/antfu) [(47657)](https://togithub.com/antfu/eslint-config/commit/4765768)
- **unicorn**: Rename `prefer-text-content` -> \`prefer-dom-node-text-c… - by [@coderwyd](https://togithub.com/coderwyd) in [https://github.com/antfu/eslint-config/issues/271](https://togithub.com/antfu/eslint-config/issues/271) [(87282)](https://togithub.com/antfu/eslint-config/commit/8728225)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.43.1...v1.0.0)
### [`v0.43.1`](https://togithub.com/antfu/eslint-config/releases/tag/v0.43.1)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.43.0...v0.43.1)
##### 🐞 Bug Fixes
- Revert '@stylistic/ts/comma-dangle' rule - by [@lincenying](https://togithub.com/lincenying) in [https://github.com/antfu/eslint-config/issues/249](https://togithub.com/antfu/eslint-config/issues/249) [(711d3)](https://togithub.com/antfu/eslint-config/commit/711d3ec)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.43.0...v0.43.1)
### [`v0.43.0`](https://togithub.com/antfu/eslint-config/releases/tag/v0.43.0)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.42.1...v0.43.0)
##### 🚀 Features
- Migrate to `eslint-stylistic` - by [@antfu](https://togithub.com/antfu) in [https://github.com/antfu/eslint-config/issues/247](https://togithub.com/antfu/eslint-config/issues/247) [(8c5a7)](https://togithub.com/antfu/eslint-config/commit/8c5a7d6)
- Formatting for `.d.ts` - by [@antfu](https://togithub.com/antfu) [(35f9f)](https://togithub.com/antfu/eslint-config/commit/35f9f2e)
- Allow `eslint-comments/no-unlimited-disable` in `.d.ts` - by [@antfu](https://togithub.com/antfu) [(a6861)](https://togithub.com/antfu/eslint-config/commit/a6861f4)
- Allow `unused-imports/no-unused-vars` in .d.ts - by [@antfu](https://togithub.com/antfu) [(b6f74)](https://togithub.com/antfu/eslint-config/commit/b6f7400)
##### 🐞 Bug Fixes
- Tsconfig lint not enabled - by [@antfu](https://togithub.com/antfu) [(aca30)](https://togithub.com/antfu/eslint-config/commit/aca3051)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.42.1...v0.43.0)
### [`v0.42.1`](https://togithub.com/antfu/eslint-config/releases/tag/v0.42.1)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.42.0...v0.42.1)
##### 🐞 Bug Fixes
- **basic**: JavaScript vue import error - by [@Nikkolast88](https://togithub.com/Nikkolast88) in [https://github.com/antfu/eslint-config/issues/245](https://togithub.com/antfu/eslint-config/issues/245) [(a0f5a)](https://togithub.com/antfu/eslint-config/commit/a0f5aa8)
- **ts**: Tsconfig.json order item - by [@Debbl](https://togithub.com/Debbl) in [https://github.com/antfu/eslint-config/issues/246](https://togithub.com/antfu/eslint-config/issues/246) [(60fa6)](https://togithub.com/antfu/eslint-config/commit/60fa6b4)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.42.0...v0.42.1)
### [`v0.42.0`](https://togithub.com/antfu/eslint-config/releases/tag/v0.42.0)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.41.4...v0.42.0)
##### 🚀 Features
- **ts**: Add tsconfig.json order - by [@Debbl](https://togithub.com/Debbl) in [https://github.com/antfu/eslint-config/issues/243](https://togithub.com/antfu/eslint-config/issues/243) [(c3eb3)](https://togithub.com/antfu/eslint-config/commit/c3eb365)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.41.4...v0.42.0)
### [`v0.41.4`](https://togithub.com/antfu/eslint-config/releases/tag/v0.41.4)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.41.3...v0.41.4)
##### 🐞 Bug Fixes
- Relax jsdoc rules, fix [#242](https://togithub.com/antfu/eslint-config/issues/242) - by [@holtwick](https://togithub.com/holtwick) in [https://github.com/antfu/eslint-config/issues/244](https://togithub.com/antfu/eslint-config/issues/244) and [https://github.com/antfu/eslint-config/issues/242](https://togithub.com/antfu/eslint-config/issues/242) [(ca91a)](https://togithub.com/antfu/eslint-config/commit/ca91ad1)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.41.3...v0.41.4)
### [`v0.41.3`](https://togithub.com/antfu/eslint-config/releases/tag/v0.41.3)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.41.2...v0.41.3)
##### 🚀 Features
- Improve compatibility with `noPropertyAccessFromIndexSignature` - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/145](https://togithub.com/antfu/eslint-config/issues/145) [(f9313)](https://togithub.com/antfu/eslint-config/commit/f9313e6)
##### 🐞 Bug Fixes
- Only use eslint in JavaScript - by [@Nikkolast88](https://togithub.com/Nikkolast88) in [https://github.com/antfu/eslint-config/issues/241](https://togithub.com/antfu/eslint-config/issues/241) [(ad07d)](https://togithub.com/antfu/eslint-config/commit/ad07d91)
- Relax jsdocs rules - by [@antfu](https://togithub.com/antfu) [(611ad)](https://togithub.com/antfu/eslint-config/commit/611adcb)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.41.2...v0.41.3)
### [`v0.41.2`](https://togithub.com/antfu/eslint-config/releases/tag/v0.41.2)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.41.1...v0.41.2)
##### 🐞 Bug Fixes
- Disable more jsdocs rules - by [@antfu](https://togithub.com/antfu) [(b5efc)](https://togithub.com/antfu/eslint-config/commit/b5efcb5)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.41.1...v0.41.2)
### [`v0.41.1`](https://togithub.com/antfu/eslint-config/releases/tag/v0.41.1)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.41.0...v0.41.1)
##### 🚀 Features
- Add jsdoc plugin - by [@antfu](https://togithub.com/antfu) [(30924)](https://togithub.com/antfu/eslint-config/commit/309249f)
- **vue**: Replace deprecate rules of vue - by [@leedom92](https://togithub.com/leedom92) in [https://github.com/antfu/eslint-config/issues/235](https://togithub.com/antfu/eslint-config/issues/235) [(eab00)](https://togithub.com/antfu/eslint-config/commit/eab00e2)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.41.0...v0.41.1)
### [`v0.41.0`](https://togithub.com/antfu/eslint-config/releases/tag/v0.41.0)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.40.3...v0.41.0)
##### 🚀 Features
- Do not auto fix `unused-imports/no-unused-imports` in editors - by [@antfu](https://togithub.com/antfu) [(ed2b0)](https://togithub.com/antfu/eslint-config/commit/ed2b006)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.40.3...v0.41.0)
### [`v0.40.3`](https://togithub.com/antfu/eslint-config/releases/tag/v0.40.3)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.40.2...v0.40.3)
##### 🚀 Features
- Sort `resolutions` in package.json - by [@antfu](https://togithub.com/antfu) [(10d38)](https://togithub.com/antfu/eslint-config/commit/10d3856)
##### 🐞 Bug Fixes
- **basic**: Ignore vitepress cache files - by [@zhou-tao](https://togithub.com/zhou-tao) in [https://github.com/antfu/eslint-config/issues/233](https://togithub.com/antfu/eslint-config/issues/233) [(1ae6e)](https://togithub.com/antfu/eslint-config/commit/1ae6ec8)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.40.2...v0.40.3)
### [`v0.40.2`](https://togithub.com/antfu/eslint-config/releases/tag/v0.40.2)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.40.1...v0.40.2)
*No significant changes*
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.40.1...v0.40.2)
### [`v0.40.1`](https://togithub.com/antfu/eslint-config/releases/tag/v0.40.1)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.40.0...v0.40.1)
##### 🐞 Bug Fixes
- **plugin**: `named-tuple-spacing` handling, close [#232](https://togithub.com/antfu/eslint-config/issues/232) - by [@antfu](https://togithub.com/antfu) in [https://github.com/antfu/eslint-config/issues/232](https://togithub.com/antfu/eslint-config/issues/232) [(3a2c5)](https://togithub.com/antfu/eslint-config/commit/3a2c549)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.40.0...v0.40.1)
### [`v0.40.0`](https://togithub.com/antfu/eslint-config/releases/tag/v0.40.0)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.39.8...v0.40.0)
##### 🚀 Features
- Add `default` in `exports` - by [@antfu](https://togithub.com/antfu) [(effc7)](https://togithub.com/antfu/eslint-config/commit/effc708)
- Format for named tuple - by [@xuzuodong](https://togithub.com/xuzuodong) in [https://github.com/antfu/eslint-config/issues/229](https://togithub.com/antfu/eslint-config/issues/229) [(0ff5e)](https://togithub.com/antfu/eslint-config/commit/0ff5e45)
- Add rule `no-import-node-modules-by-path` - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/219](https://togithub.com/antfu/eslint-config/issues/219) [(cf124)](https://togithub.com/antfu/eslint-config/commit/cf1240c)
##### 🐞 Bug Fixes
- Put `import` before `require` in exports - by [@antfu](https://togithub.com/antfu) [(ea307)](https://togithub.com/antfu/eslint-config/commit/ea307c9)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.39.8...v0.40.0)
### [`v0.39.8`](https://togithub.com/antfu/eslint-config/releases/tag/v0.39.8)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.39.7...v0.39.8)
##### 🚀 Features
- **basic**:
- Ban self import - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/213](https://togithub.com/antfu/eslint-config/issues/213) [(2ed85)](https://togithub.com/antfu/eslint-config/commit/2ed8536)
- Prefer non global process object - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/214](https://togithub.com/antfu/eslint-config/issues/214) [(3ef95)](https://togithub.com/antfu/eslint-config/commit/3ef955d)
##### 🐞 Bug Fixes
- **plugin**: Allow empty type import - by [@sxzz](https://togithub.com/sxzz) in [https://github.com/antfu/eslint-config/issues/218](https://togithub.com/antfu/eslint-config/issues/218) [(58219)](https://togithub.com/antfu/eslint-config/commit/5821926)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.39.7...v0.39.8)
### [`v0.39.7`](https://togithub.com/antfu/eslint-config/releases/tag/v0.39.7)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.39.6...v0.39.7)
##### 🚀 Features
- Ban `new Array` - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/209](https://togithub.com/antfu/eslint-config/issues/209) [(be5bc)](https://togithub.com/antfu/eslint-config/commit/be5bc80)
- **ts**: Enable `@typescript-eslint/ban-types` - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/210](https://togithub.com/antfu/eslint-config/issues/210) [(d4a9e)](https://togithub.com/antfu/eslint-config/commit/d4a9ebc)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.39.6...v0.39.7)
### [`v0.39.6`](https://togithub.com/antfu/eslint-config/releases/tag/v0.39.6)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.39.5...v0.39.6)
##### 🚀 Features
- Switch to eslint-plugin-i - by [@arily](https://togithub.com/arily) in [https://github.com/antfu/eslint-config/issues/205](https://togithub.com/antfu/eslint-config/issues/205) [(504de)](https://togithub.com/antfu/eslint-config/commit/504de83)
- **ts**: Ban `const enum` - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/201](https://togithub.com/antfu/eslint-config/issues/201) [(2bf0c)](https://togithub.com/antfu/eslint-config/commit/2bf0c8d)
- **vue**: Enforce order of define macros - by [@kirklin](https://togithub.com/kirklin) in [https://github.com/antfu/eslint-config/issues/196](https://togithub.com/antfu/eslint-config/issues/196) [(f553c)](https://togithub.com/antfu/eslint-config/commit/f553c51)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.39.5...v0.39.6)
### [`v0.39.5`](https://togithub.com/antfu/eslint-config/releases/tag/v0.39.5)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.39.4...v0.39.5)
##### 🚀 Features
- **basic**: Ban deprecated syntax - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/194](https://togithub.com/antfu/eslint-config/issues/194) [(0947d)](https://togithub.com/antfu/eslint-config/commit/0947ddb)
##### 🐞 Bug Fixes
- Disable `@typescript-eslint/consistent-type-assertions` - by [@antfu](https://togithub.com/antfu) [(abf5c)](https://togithub.com/antfu/eslint-config/commit/abf5c27)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.39.4...v0.39.5)
### [`v0.39.4`](https://togithub.com/antfu/eslint-config/releases/tag/v0.39.4)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.39.3...v0.39.4)
##### 🚀 Features
- **basic**:
- Ban `global` variable - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/189](https://togithub.com/antfu/eslint-config/issues/189) [(e787e)](https://togithub.com/antfu/eslint-config/commit/e787e9a)
- Ban some deprecated global functions - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/190](https://togithub.com/antfu/eslint-config/issues/190) [(aefa7)](https://togithub.com/antfu/eslint-config/commit/aefa76e)
- **ts**:
- Enable `@typescript-eslint/consistent-type-assertions` - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/188](https://togithub.com/antfu/eslint-config/issues/188) [(a3598)](https://togithub.com/antfu/eslint-config/commit/a3598d3)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.39.3...v0.39.4)
### [`v0.39.3`](https://togithub.com/antfu/eslint-config/releases/tag/v0.39.3)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.39.2...v0.39.3)
##### 🐞 Bug Fixes
- **vue**: Disable `vue/no-dupe-keys` - by [@antfu](https://togithub.com/antfu) [(bb09e)](https://togithub.com/antfu/eslint-config/commit/bb09e1d)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.39.2...v0.39.3)
### [`v0.39.2`](https://togithub.com/antfu/eslint-config/releases/tag/v0.39.2)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.39.1...v0.39.2)
##### 🚀 Features
- Update eslint-plugin-vue version - by [@kaivanwong](https://togithub.com/kaivanwong) in [https://github.com/antfu/eslint-config/issues/186](https://togithub.com/antfu/eslint-config/issues/186) [(ec494)](https://togithub.com/antfu/eslint-config/commit/ec49486)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.39.1...v0.39.2)
### [`v0.39.1`](https://togithub.com/antfu/eslint-config/releases/tag/v0.39.1)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.39.0...v0.39.1)
##### 🐞 Bug Fixes
- Turn off cjs-check in markdown - by [@antfu](https://togithub.com/antfu) [(cdb02)](https://togithub.com/antfu/eslint-config/commit/cdb02c8)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.39.0...v0.39.1)
### [`v0.39.0`](https://togithub.com/antfu/eslint-config/releases/tag/v0.39.0)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.38.6...v0.39.0)
##### 🚀 Features
- Validate `jsonc` file - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/184](https://togithub.com/antfu/eslint-config/issues/184) [(96dd9)](https://togithub.com/antfu/eslint-config/commit/96dd9a1)
- **ts**: Ban cjs exports in ts file - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/167](https://togithub.com/antfu/eslint-config/issues/167) [(3ca0e)](https://togithub.com/antfu/eslint-config/commit/3ca0e7e)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.38.6...v0.39.0)
### [`v0.38.6`](https://togithub.com/antfu/eslint-config/releases/tag/v0.38.6)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.38.5...v0.38.6)
##### 🐞 Bug Fixes
- Exclude vitepress cache - by [@antfu](https://togithub.com/antfu) [(e6cb7)](https://togithub.com/antfu/eslint-config/commit/e6cb799)
- Relax markdown lint - by [@antfu](https://togithub.com/antfu) [(6503a)](https://togithub.com/antfu/eslint-config/commit/6503a15)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.38.5...v0.38.6)
### [`v0.38.5`](https://togithub.com/antfu/eslint-config/releases/tag/v0.38.5)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.38.4...v0.38.5)
##### 🚀 Features
- Ban requrie imports in ts file - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/165](https://togithub.com/antfu/eslint-config/issues/165) [(78b40)](https://togithub.com/antfu/eslint-config/commit/78b405f)
- Enable `no-invalid-this` - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/173](https://togithub.com/antfu/eslint-config/issues/173) [(ff74d)](https://togithub.com/antfu/eslint-config/commit/ff74d69)
- **basic**: Consider comments for `newline-after-import` - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/164](https://togithub.com/antfu/eslint-config/issues/164) [(ebb96)](https://togithub.com/antfu/eslint-config/commit/ebb96c4)
- **plugin**: Allow some one-line arrow functions - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/172](https://togithub.com/antfu/eslint-config/issues/172) [(506d1)](https://togithub.com/antfu/eslint-config/commit/506d17c)
- **ts**: Ban namespace in ts file - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/166](https://togithub.com/antfu/eslint-config/issues/166) [(9fde0)](https://togithub.com/antfu/eslint-config/commit/9fde0f4)
##### 🐞 Bug Fixes
- **basic**: Allow require imports in js file - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/169](https://togithub.com/antfu/eslint-config/issues/169) [(e2886)](https://togithub.com/antfu/eslint-config/commit/e28861a)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.38.4...v0.38.5)
### [`v0.38.4`](https://togithub.com/antfu/eslint-config/releases/tag/v0.38.4)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.38.3...v0.38.4)
*No significant changes*
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.38.3...v0.38.4)
### [`v0.38.3`](https://togithub.com/antfu/eslint-config/releases/tag/v0.38.3)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.38.2...v0.38.3)
##### 🚀 Features
- **basic**:
- New line after import - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/161](https://togithub.com/antfu/eslint-config/issues/161) [(d1cd7)](https://togithub.com/antfu/eslint-config/commit/d1cd722)
- Prefer non global object of node - by [@zanminkian](https://togithub.com/zanminkian) and [@antfu](https://togithub.com/antfu) in [https://github.com/antfu/eslint-config/issues/159](https://togithub.com/antfu/eslint-config/issues/159) [(502f6)](https://togithub.com/antfu/eslint-config/commit/502f6b0)
##### 🐞 Bug Fixes
- **top-level-function**: Narrow warning range - by [@antfu](https://togithub.com/antfu) [(d2150)](https://togithub.com/antfu/eslint-config/commit/d2150ee)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.38.2...v0.38.3)
### [`v0.38.2`](https://togithub.com/antfu/eslint-config/releases/tag/v0.38.2)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.38.0...v0.38.2)
*No significant changes*
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.38.1...v0.38.2)
### [`v0.38.0`](https://togithub.com/antfu/eslint-config/releases/tag/v0.38.0)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.37.0...v0.38.0)
##### 🚀 Features
- Enforce to use function declaration on top-level - by [@antfu](https://togithub.com/antfu) [(87d26)](https://togithub.com/antfu/eslint-config/commit/87d26fb)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.37.0...v0.38.0)
### [`v0.37.0`](https://togithub.com/antfu/eslint-config/releases/tag/v0.37.0)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.36.0...v0.37.0)
##### 🚀 Features
- Enable `vue/no-unused-refs` - by [@Demivan](https://togithub.com/Demivan) in [https://github.com/antfu/eslint-config/issues/158](https://togithub.com/antfu/eslint-config/issues/158) [(d3c11)](https://togithub.com/antfu/eslint-config/commit/d3c1119)
- Upgrade deps, support typescript 5.0 - by [@antfu](https://togithub.com/antfu) [(76327)](https://togithub.com/antfu/eslint-config/commit/7632765)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.36.0...v0.37.0)
### [`v0.36.0`](https://togithub.com/antfu/eslint-config/releases/tag/v0.36.0)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.35.3...v0.36.0)
##### 🚀 Features
- Enable `prefer-node-protocol` - by [@antfu](https://togithub.com/antfu) [(447d3)](https://togithub.com/antfu/eslint-config/commit/447d326)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.35.3...v0.36.0)
### [`v0.35.3`](https://togithub.com/antfu/eslint-config/releases/tag/v0.35.3)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.35.2...v0.35.3)
##### 🚀 Features
- Add ignore list for lint-staged - by [@antfu](https://togithub.com/antfu) [(4167a)](https://togithub.com/antfu/eslint-config/commit/4167a78)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.35.2...v0.35.3)
### [`v0.35.2`](https://togithub.com/antfu/eslint-config/releases/tag/v0.35.2)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.35.1...v0.35.2)
##### 🐞 Bug Fixes
- Disable `vue/no-v-text-v-html-on-component` - by [@antfu](https://togithub.com/antfu) [(7a2d6)](https://togithub.com/antfu/eslint-config/commit/7a2d63c)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.35.1...v0.35.2)
### [`v0.35.1`](https://togithub.com/antfu/eslint-config/releases/tag/v0.35.1)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.35.0...v0.35.1)
##### 🐞 Bug Fixes
- Disable `@typescript-eslint/no-unused-vars` - by [@antfu](https://togithub.com/antfu) [(4b576)](https://togithub.com/antfu/eslint-config/commit/4b57638)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.35.0...v0.35.1)
### [`v0.35.0`](https://togithub.com/antfu/eslint-config/releases/tag/v0.35.0)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.34.2...v0.35.0)
##### 🚀 Features
- Auto fix for unused imports - by [@antfu](https://togithub.com/antfu) [(f466a)](https://togithub.com/antfu/eslint-config/commit/f466ac5)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.34.2...v0.35.0)
### [`v0.34.2`](https://togithub.com/antfu/eslint-config/releases/tag/v0.34.2)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.34.1...v0.34.2)
##### 🚀 Features
- Allow require() in cjs - by [@antfu](https://togithub.com/antfu) [(f45a0)](https://togithub.com/antfu/eslint-config/commit/f45a0d9)
##### 🐞 Bug Fixes
- Group `&&`, ` - by ** ` and `?:` ([#152](https://togithub.com/antfu/eslint-config/issues/152))\*\* [()](https://togithub.com/antfu/eslint-config/commit/)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.34.1...v0.34.2)
### [`v0.34.1`](https://togithub.com/antfu/eslint-config/releases/tag/v0.34.1)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.34.0...v0.34.1)
##### 🚀 Features
- **ts**: Enable `jest/unbound-method` - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/141](https://togithub.com/antfu/eslint-config/issues/141) [(2ad35)](https://togithub.com/antfu/eslint-config/commit/2ad3503)
##### 🐞 Bug Fixes
- Allow void as statement in ts file - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/142](https://togithub.com/antfu/eslint-config/issues/142) [(5d5b3)](https://togithub.com/antfu/eslint-config/commit/5d5b3c3)
- Prefer const when all variables in destructuring should be const - by [@sxzz](https://togithub.com/sxzz) in [https://github.com/antfu/eslint-config/issues/149](https://togithub.com/antfu/eslint-config/issues/149) [(2a224)](https://togithub.com/antfu/eslint-config/commit/2a224ef)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.34.0...v0.34.1)
### [`v0.34.0`](https://togithub.com/antfu/eslint-config/releases/tag/v0.34.0)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.33.1...v0.34.0)
##### 🚀 Features
- **basic**:
- Disable `consistent-type-imports` in markdown file - by [@ZanMinKian](https://togithub.com/ZanMinKian) in [https://github.com/antfu/eslint-config/issues/138](https://togithub.com/antfu/eslint-config/issues/138) [(b5828)](https://togithub.com/antfu/eslint-config/commit/b58283d)
- **ts**:
- Add TypeScript Aware Rules from [@typescript-eslint/recommen](https://togithub.com/typescript-eslint/recommen)… - by [@kirklin](https://togithub.com/kirklin) in [https://github.com/antfu/eslint-config/issues/135](https://togithub.com/antfu/eslint-config/issues/135) [(b93f4)](https://togithub.com/antfu/eslint-config/commit/b93f48f)
- Can change tsconfig by env - by [@ZanMinKian](https://togithub.com/ZanMinKian) in [https://github.com/antfu/eslint-config/issues/136](https://togithub.com/antfu/eslint-config/issues/136) [(fe73f)](https://togithub.com/antfu/eslint-config/commit/fe73faf)
##### 🐞 Bug Fixes
- **basic**: Disallow multi empty lines at the end of file - by [@ZanMinKian](https://togithub.com/ZanMinKian) in [https://github.com/antfu/eslint-config/issues/137](https://togithub.com/antfu/eslint-config/issues/137) [(4d38b)](https://togithub.com/antfu/eslint-config/commit/4d38bd0)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.33.1...v0.34.0)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^0.33.1
->^1.0.0
Release Notes
antfu/eslint-config (@antfu/eslint-config)
### [`v1.1.1`](https://togithub.com/antfu/eslint-config/releases/tag/v1.1.1) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v1.1.0...v1.1.1) ##### 🚀 Features - CLI for quick scaffolding - by [@injurka](https://togithub.com/injurka), **ivan**, **Injurka** and [@antfu](https://togithub.com/antfu) in [https://github.com/antfu/eslint-config/issues/277](https://togithub.com/antfu/eslint-config/issues/277) [(2ee5a)](https://togithub.com/antfu/eslint-config/commit/2ee5a69) ##### 🐞 Bug Fixes - Disable `import/newline-after-import` in markdown - by [@antfu](https://togithub.com/antfu) [(23351)](https://togithub.com/antfu/eslint-config/commit/2335199) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v1.1.0...v1.1.1) ### [`v1.1.0`](https://togithub.com/antfu/eslint-config/releases/tag/v1.1.0) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v1.0.0...v1.1.0) ##### 🚨 Breaking Changes - Move the optional `sort-keys` plugin to `perfectionist`, close [#295](https://togithub.com/antfu/eslint-config/issues/295) - by [@antfu](https://togithub.com/antfu) in [https://github.com/antfu/eslint-config/issues/295](https://togithub.com/antfu/eslint-config/issues/295) [(9fa74)](https://togithub.com/antfu/eslint-config/commit/9fa7426) ##### 🐞 Bug Fixes - Disable `style/object-property-newline` in favor of `antfu/consistent-list-newline` - by [@antfu](https://togithub.com/antfu) [(2f51b)](https://togithub.com/antfu/eslint-config/commit/2f51b58) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v1.0.0...v1.1.0) ### [`v1.0.0`](https://togithub.com/antfu/eslint-config/releases/tag/v1.0.0) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.43.1...v1.0.0) ### Breaking Changes - Use [ESLint Flat config](https://eslint.org/docs/latest/use/configure/configuration-files-new), users need to [migrate to the new config style as well](https://togithub.com/antfu/eslint-config#create-config-file) - `@antfu/eslint-config-*` are packages all dropped, as `@antfu/eslint-config` provides [much better composability](https://togithub.com/antfu/eslint-config#customization) now. - `@antfu/eslint-config-react` is removed, but JSX formatting support is enabled by default now. - `ESLINT_TSCONFIG` no longer works, [use the `typescript` option in `eslint.config.js` instead](https://togithub.com/antfu/eslint-config#type-aware-rules) - Requires ESLint v8 - [Rename plugin prefixes](https://togithub.com/antfu/eslint-config#plugins-renaming) - `@typescript-eslint/*` -> `ts/` - `n/*` -> `node/*` - etc. *** #### Generated changelog: ##### 🚨 Breaking Changes - Use flat config - by [@antfu](https://togithub.com/antfu) in [https://github.com/antfu/eslint-config/issues/250](https://togithub.com/antfu/eslint-config/issues/250) [(3ad62)](https://togithub.com/antfu/eslint-config/commit/3ad62d5) - New config factory instead of presets - by [@antfu](https://togithub.com/antfu) [(9ee68)](https://togithub.com/antfu/eslint-config/commit/9ee683e) - Rename plugin prefixes for consistency - by [@antfu](https://togithub.com/antfu) [(f31a8)](https://togithub.com/antfu/eslint-config/commit/f31a824) - De-monorepo - by [@antfu](https://togithub.com/antfu) [(5c3ce)](https://togithub.com/antfu/eslint-config/commit/5c3ce91) - Use unified stylistic rules - by [@antfu](https://togithub.com/antfu) [(0ce3a)](https://togithub.com/antfu/eslint-config/commit/0ce3a69) - Make all configs function for consistency and immutability - by [@antfu](https://togithub.com/antfu) [(11e31)](https://togithub.com/antfu/eslint-config/commit/11e3101) - Rename `typescriptWithLanguageServer` to `typescriptWithTypes` - by [@antfu](https://togithub.com/antfu) [(ffe00)](https://togithub.com/antfu/eslint-config/commit/ffe00e1) - Set plugin alias of `yml/` to `yaml/` - by [@antfu](https://togithub.com/antfu) [(917dd)](https://togithub.com/antfu/eslint-config/commit/917dd48) - Fix type aware rules, merge `typescriptWithTypes` to `typescript` - by [@antfu](https://togithub.com/antfu) [(3fae7)](https://togithub.com/antfu/eslint-config/commit/3fae70a) ##### 🚀 Features - Ship types, and a `combine` util - by [@antfu](https://togithub.com/antfu) [(000a2)](https://togithub.com/antfu/eslint-config/commit/000a236) - Make it side-effects free - by [@antfu](https://togithub.com/antfu) [(70fc8)](https://togithub.com/antfu/eslint-config/commit/70fc8b6) - Enable `antfu/consistent-object-newline` - by [@antfu](https://togithub.com/antfu) [(e3b3a)](https://togithub.com/antfu/eslint-config/commit/e3b3ace) - Support passing flat config to the first arg - by [@antfu](https://togithub.com/antfu) [(ce925)](https://togithub.com/antfu/eslint-config/commit/ce925b4) - Support reading `.gitignore` by default, close [#254](https://togithub.com/antfu/eslint-config/issues/254) - by [@antfu](https://togithub.com/antfu) in [https://github.com/antfu/eslint-config/issues/254](https://togithub.com/antfu/eslint-config/issues/254) [(2f35d)](https://togithub.com/antfu/eslint-config/commit/2f35dae) - Expose globs - by [@antfu](https://togithub.com/antfu) [(05073)](https://togithub.com/antfu/eslint-config/commit/05073cd) - Support rules override, close [#255](https://togithub.com/antfu/eslint-config/issues/255) - by [@antfu](https://togithub.com/antfu) in [https://github.com/antfu/eslint-config/issues/255](https://togithub.com/antfu/eslint-config/issues/255) [(39353)](https://togithub.com/antfu/eslint-config/commit/3935399) - Granular stylistic control - by [@antfu](https://togithub.com/antfu) [(30c87)](https://togithub.com/antfu/eslint-config/commit/30c870d) - Add `componentExts` to top level config - by [@antfu](https://togithub.com/antfu) [(2080b)](https://togithub.com/antfu/eslint-config/commit/2080be2) - Add `eslint-plugin-vitest` - by [@antfu](https://togithub.com/antfu) [(002bb)](https://togithub.com/antfu/eslint-config/commit/002bb3d) - Use ts parser even for JS, for better language compatibility - by [@antfu](https://togithub.com/antfu) [(e0757)](https://togithub.com/antfu/eslint-config/commit/e0757c4) - Add `name` for each config item - by [@antfu](https://togithub.com/antfu) [(d4cfe)](https://togithub.com/antfu/eslint-config/commit/d4cfef8) - Update stylistic plugins - by [@antfu](https://togithub.com/antfu) [(9326e)](https://togithub.com/antfu/eslint-config/commit/9326e10) - Re-organize tsconfig sort - by [@antfu](https://togithub.com/antfu) [(1261b)](https://togithub.com/antfu/eslint-config/commit/1261b2e) - Add `style/jsx-quotes` rule - by [@antfu](https://togithub.com/antfu) [(5291c)](https://togithub.com/antfu/eslint-config/commit/5291cc9) - Ban declarations in ts file - by [@so1ve](https://togithub.com/so1ve) in [https://github.com/antfu/eslint-config/issues/264](https://togithub.com/antfu/eslint-config/issues/264) [(a76fd)](https://togithub.com/antfu/eslint-config/commit/a76fde9) - Allow customize indent and quotes - by [@antfu](https://togithub.com/antfu) [(bbac1)](https://togithub.com/antfu/eslint-config/commit/bbac132) - Type support for rules - by [@antfu](https://togithub.com/antfu) [(44745)](https://togithub.com/antfu/eslint-config/commit/4474554) - Add types for `antfu/` - by [@antfu](https://togithub.com/antfu) [(64e3f)](https://togithub.com/antfu/eslint-config/commit/64e3f8d) - Bring back `reportUnusedDisableDirectives` - by [@antfu](https://togithub.com/antfu) [(6320c)](https://togithub.com/antfu/eslint-config/commit/6320cef) - Enable basic jsx stylistic rules, close [#185](https://togithub.com/antfu/eslint-config/issues/185) - by [@antfu](https://togithub.com/antfu) in [https://github.com/antfu/eslint-config/issues/185](https://togithub.com/antfu/eslint-config/issues/185) [(2dfb5)](https://togithub.com/antfu/eslint-config/commit/2dfb5fd) - Enable `no-import-type-side-effects`, close [#227](https://togithub.com/antfu/eslint-config/issues/227) - by [@antfu](https://togithub.com/antfu) in [https://github.com/antfu/eslint-config/issues/227](https://togithub.com/antfu/eslint-config/issues/227) [(cb4b7)](https://togithub.com/antfu/eslint-config/commit/cb4b7b9) - Update jsx default config - by [@promise96319](https://togithub.com/promise96319) and [@antfu](https://togithub.com/antfu) in [https://github.com/antfu/eslint-config/issues/281](https://togithub.com/antfu/eslint-config/issues/281) [(987b9)](https://togithub.com/antfu/eslint-config/commit/987b9d8) - Add optional `sort-keys` plugin - by [@antfu](https://togithub.com/antfu) [(f8ae1)](https://togithub.com/antfu/eslint-config/commit/f8ae1f6) - Typescript.tsconfigPath array support - by [@rost-git](https://togithub.com/rost-git) and [@antfu](https://togithub.com/antfu) in [https://github.com/antfu/eslint-config/issues/306](https://togithub.com/antfu/eslint-config/issues/306) [(54652)](https://togithub.com/antfu/eslint-config/commit/546526a) ##### 🐞 Bug Fixes - Move stylistic files - by [@antfu](https://togithub.com/antfu) [(7070d)](https://togithub.com/antfu/eslint-config/commit/7070dc9) - Stylistic overrides - by [@antfu](https://togithub.com/antfu) [(60746)](https://togithub.com/antfu/eslint-config/commit/6074698) - Disable `ts/no-invalid-void-type` - by [@antfu](https://togithub.com/antfu) [(db397)](https://togithub.com/antfu/eslint-config/commit/db397b6) - Improve rules - by [@antfu](https://togithub.com/antfu) [(9ffcf)](https://togithub.com/antfu/eslint-config/commit/9ffcf2b) - Ship cjs build as well - by [@antfu](https://togithub.com/antfu) [(f0b67)](https://togithub.com/antfu/eslint-config/commit/f0b67fe) - Disable `comma-dangle` in markdown - by [@antfu](https://togithub.com/antfu) [(34bbd)](https://togithub.com/antfu/eslint-config/commit/34bbd59) - Install plugins globally for easy overrides - by [@antfu](https://togithub.com/antfu) [(6a72b)](https://togithub.com/antfu/eslint-config/commit/6a72bf5) - Remove `jsdoc/no-types` rule - by [@antfu](https://togithub.com/antfu) [(91dee)](https://togithub.com/antfu/eslint-config/commit/91dee42) - Disable type aware rules in markdown - by [@antfu](https://togithub.com/antfu) [(edb7f)](https://togithub.com/antfu/eslint-config/commit/edb7f1a) - Update `style/quotes` - by [@antfu](https://togithub.com/antfu) [(5f554)](https://togithub.com/antfu/eslint-config/commit/5f554fd) - Allow `Function` type for `ts/ban-types` - by [@antfu](https://togithub.com/antfu) [(6a4cf)](https://togithub.com/antfu/eslint-config/commit/6a4cfec) - Disable few rules - by [@antfu](https://togithub.com/antfu) [(4da0b)](https://togithub.com/antfu/eslint-config/commit/4da0b64) - Disable `jsdoc/valid-types` - by [@antfu](https://togithub.com/antfu) [(d1024)](https://togithub.com/antfu/eslint-config/commit/d102447) - Ignores - by [@antfu](https://togithub.com/antfu) [(ae3e6)](https://togithub.com/antfu/eslint-config/commit/ae3e6d3) - Add lockfile glob for bun - by [@rubiin](https://togithub.com/rubiin) in [https://github.com/antfu/eslint-config/issues/262](https://togithub.com/antfu/eslint-config/issues/262) [(7efac)](https://togithub.com/antfu/eslint-config/commit/7efac1b) - Yaml indent - by [@so1ve](https://togithub.com/so1ve) in [https://github.com/antfu/eslint-config/issues/267](https://togithub.com/antfu/eslint-config/issues/267) [(757bb)](https://togithub.com/antfu/eslint-config/commit/757bb6b) - Disable `no-restricted-syntax` in d.ts - by [@antfu](https://togithub.com/antfu) [(d98a8)](https://togithub.com/antfu/eslint-config/commit/d98a8c2) - Enforce name casing for unregistered components - by [@vaibhav11s](https://togithub.com/vaibhav11s) in [https://github.com/antfu/eslint-config/issues/289](https://togithub.com/antfu/eslint-config/issues/289) [(ba704)](https://togithub.com/antfu/eslint-config/commit/ba704e7) - Improve typescript options type - by [@antfu](https://togithub.com/antfu) [(8b5cb)](https://togithub.com/antfu/eslint-config/commit/8b5cb99) - Add default `extraFileExtensions` to type aware rules - by [@antfu](https://togithub.com/antfu) [(0a9bc)](https://togithub.com/antfu/eslint-config/commit/0a9bce9) - Prop names should always use camelCase during declaration. - by [@kaivanwong](https://togithub.com/kaivanwong) in [https://github.com/antfu/eslint-config/issues/293](https://togithub.com/antfu/eslint-config/issues/293) [(1c322)](https://togithub.com/antfu/eslint-config/commit/1c32240) - Use "source.fixAll.eslint" to avoid builtin autofixes dropping code - by [@Dimava](https://togithub.com/Dimava) in [https://github.com/antfu/eslint-config/issues/299](https://togithub.com/antfu/eslint-config/issues/299) [(33554)](https://togithub.com/antfu/eslint-config/commit/335542e) - Remove `no-void` rule, close [#298](https://togithub.com/antfu/eslint-config/issues/298) - by [@antfu](https://togithub.com/antfu) in [https://github.com/antfu/eslint-config/issues/298](https://togithub.com/antfu/eslint-config/issues/298) [(90b36)](https://togithub.com/antfu/eslint-config/commit/90b36f1) - Revert [#289](https://togithub.com/antfu/eslint-config/issues/289) - by [@qin-guan](https://togithub.com/qin-guan) in [https://github.com/antfu/eslint-config/issues/302](https://togithub.com/antfu/eslint-config/issues/302) and [https://github.com/antfu/eslint-config/issues/289](https://togithub.com/antfu/eslint-config/issues/289) [(52b4f)](https://togithub.com/antfu/eslint-config/commit/52b4fe5) - **jsonc**: Indent config - by [@antfu](https://togithub.com/antfu) [(45e30)](https://togithub.com/antfu/eslint-config/commit/45e302d) - **jsx**: Turn off `style/jsx-child-element-spacing` to avoid conflicts - by [@antfu](https://togithub.com/antfu) [(f4a07)](https://togithub.com/antfu/eslint-config/commit/f4a07f4) - **style/quotes**: Disable `avoidEscape` for consistency - by [@antfu](https://togithub.com/antfu) [(47657)](https://togithub.com/antfu/eslint-config/commit/4765768) - **unicorn**: Rename `prefer-text-content` -> \`prefer-dom-node-text-c… - by [@coderwyd](https://togithub.com/coderwyd) in [https://github.com/antfu/eslint-config/issues/271](https://togithub.com/antfu/eslint-config/issues/271) [(87282)](https://togithub.com/antfu/eslint-config/commit/8728225) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.43.1...v1.0.0) ### [`v0.43.1`](https://togithub.com/antfu/eslint-config/releases/tag/v0.43.1) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.43.0...v0.43.1) ##### 🐞 Bug Fixes - Revert '@stylistic/ts/comma-dangle' rule - by [@lincenying](https://togithub.com/lincenying) in [https://github.com/antfu/eslint-config/issues/249](https://togithub.com/antfu/eslint-config/issues/249) [(711d3)](https://togithub.com/antfu/eslint-config/commit/711d3ec) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.43.0...v0.43.1) ### [`v0.43.0`](https://togithub.com/antfu/eslint-config/releases/tag/v0.43.0) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.42.1...v0.43.0) ##### 🚀 Features - Migrate to `eslint-stylistic` - by [@antfu](https://togithub.com/antfu) in [https://github.com/antfu/eslint-config/issues/247](https://togithub.com/antfu/eslint-config/issues/247) [(8c5a7)](https://togithub.com/antfu/eslint-config/commit/8c5a7d6) - Formatting for `.d.ts` - by [@antfu](https://togithub.com/antfu) [(35f9f)](https://togithub.com/antfu/eslint-config/commit/35f9f2e) - Allow `eslint-comments/no-unlimited-disable` in `.d.ts` - by [@antfu](https://togithub.com/antfu) [(a6861)](https://togithub.com/antfu/eslint-config/commit/a6861f4) - Allow `unused-imports/no-unused-vars` in .d.ts - by [@antfu](https://togithub.com/antfu) [(b6f74)](https://togithub.com/antfu/eslint-config/commit/b6f7400) ##### 🐞 Bug Fixes - Tsconfig lint not enabled - by [@antfu](https://togithub.com/antfu) [(aca30)](https://togithub.com/antfu/eslint-config/commit/aca3051) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.42.1...v0.43.0) ### [`v0.42.1`](https://togithub.com/antfu/eslint-config/releases/tag/v0.42.1) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.42.0...v0.42.1) ##### 🐞 Bug Fixes - **basic**: JavaScript vue import error - by [@Nikkolast88](https://togithub.com/Nikkolast88) in [https://github.com/antfu/eslint-config/issues/245](https://togithub.com/antfu/eslint-config/issues/245) [(a0f5a)](https://togithub.com/antfu/eslint-config/commit/a0f5aa8) - **ts**: Tsconfig.json order item - by [@Debbl](https://togithub.com/Debbl) in [https://github.com/antfu/eslint-config/issues/246](https://togithub.com/antfu/eslint-config/issues/246) [(60fa6)](https://togithub.com/antfu/eslint-config/commit/60fa6b4) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.42.0...v0.42.1) ### [`v0.42.0`](https://togithub.com/antfu/eslint-config/releases/tag/v0.42.0) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.41.4...v0.42.0) ##### 🚀 Features - **ts**: Add tsconfig.json order - by [@Debbl](https://togithub.com/Debbl) in [https://github.com/antfu/eslint-config/issues/243](https://togithub.com/antfu/eslint-config/issues/243) [(c3eb3)](https://togithub.com/antfu/eslint-config/commit/c3eb365) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.41.4...v0.42.0) ### [`v0.41.4`](https://togithub.com/antfu/eslint-config/releases/tag/v0.41.4) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.41.3...v0.41.4) ##### 🐞 Bug Fixes - Relax jsdoc rules, fix [#242](https://togithub.com/antfu/eslint-config/issues/242) - by [@holtwick](https://togithub.com/holtwick) in [https://github.com/antfu/eslint-config/issues/244](https://togithub.com/antfu/eslint-config/issues/244) and [https://github.com/antfu/eslint-config/issues/242](https://togithub.com/antfu/eslint-config/issues/242) [(ca91a)](https://togithub.com/antfu/eslint-config/commit/ca91ad1) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.41.3...v0.41.4) ### [`v0.41.3`](https://togithub.com/antfu/eslint-config/releases/tag/v0.41.3) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.41.2...v0.41.3) ##### 🚀 Features - Improve compatibility with `noPropertyAccessFromIndexSignature` - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/145](https://togithub.com/antfu/eslint-config/issues/145) [(f9313)](https://togithub.com/antfu/eslint-config/commit/f9313e6) ##### 🐞 Bug Fixes - Only use eslint in JavaScript - by [@Nikkolast88](https://togithub.com/Nikkolast88) in [https://github.com/antfu/eslint-config/issues/241](https://togithub.com/antfu/eslint-config/issues/241) [(ad07d)](https://togithub.com/antfu/eslint-config/commit/ad07d91) - Relax jsdocs rules - by [@antfu](https://togithub.com/antfu) [(611ad)](https://togithub.com/antfu/eslint-config/commit/611adcb) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.41.2...v0.41.3) ### [`v0.41.2`](https://togithub.com/antfu/eslint-config/releases/tag/v0.41.2) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.41.1...v0.41.2) ##### 🐞 Bug Fixes - Disable more jsdocs rules - by [@antfu](https://togithub.com/antfu) [(b5efc)](https://togithub.com/antfu/eslint-config/commit/b5efcb5) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.41.1...v0.41.2) ### [`v0.41.1`](https://togithub.com/antfu/eslint-config/releases/tag/v0.41.1) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.41.0...v0.41.1) ##### 🚀 Features - Add jsdoc plugin - by [@antfu](https://togithub.com/antfu) [(30924)](https://togithub.com/antfu/eslint-config/commit/309249f) - **vue**: Replace deprecate rules of vue - by [@leedom92](https://togithub.com/leedom92) in [https://github.com/antfu/eslint-config/issues/235](https://togithub.com/antfu/eslint-config/issues/235) [(eab00)](https://togithub.com/antfu/eslint-config/commit/eab00e2) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.41.0...v0.41.1) ### [`v0.41.0`](https://togithub.com/antfu/eslint-config/releases/tag/v0.41.0) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.40.3...v0.41.0) ##### 🚀 Features - Do not auto fix `unused-imports/no-unused-imports` in editors - by [@antfu](https://togithub.com/antfu) [(ed2b0)](https://togithub.com/antfu/eslint-config/commit/ed2b006) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.40.3...v0.41.0) ### [`v0.40.3`](https://togithub.com/antfu/eslint-config/releases/tag/v0.40.3) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.40.2...v0.40.3) ##### 🚀 Features - Sort `resolutions` in package.json - by [@antfu](https://togithub.com/antfu) [(10d38)](https://togithub.com/antfu/eslint-config/commit/10d3856) ##### 🐞 Bug Fixes - **basic**: Ignore vitepress cache files - by [@zhou-tao](https://togithub.com/zhou-tao) in [https://github.com/antfu/eslint-config/issues/233](https://togithub.com/antfu/eslint-config/issues/233) [(1ae6e)](https://togithub.com/antfu/eslint-config/commit/1ae6ec8) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.40.2...v0.40.3) ### [`v0.40.2`](https://togithub.com/antfu/eslint-config/releases/tag/v0.40.2) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.40.1...v0.40.2) *No significant changes* ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.40.1...v0.40.2) ### [`v0.40.1`](https://togithub.com/antfu/eslint-config/releases/tag/v0.40.1) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.40.0...v0.40.1) ##### 🐞 Bug Fixes - **plugin**: `named-tuple-spacing` handling, close [#232](https://togithub.com/antfu/eslint-config/issues/232) - by [@antfu](https://togithub.com/antfu) in [https://github.com/antfu/eslint-config/issues/232](https://togithub.com/antfu/eslint-config/issues/232) [(3a2c5)](https://togithub.com/antfu/eslint-config/commit/3a2c549) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.40.0...v0.40.1) ### [`v0.40.0`](https://togithub.com/antfu/eslint-config/releases/tag/v0.40.0) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.39.8...v0.40.0) ##### 🚀 Features - Add `default` in `exports` - by [@antfu](https://togithub.com/antfu) [(effc7)](https://togithub.com/antfu/eslint-config/commit/effc708) - Format for named tuple - by [@xuzuodong](https://togithub.com/xuzuodong) in [https://github.com/antfu/eslint-config/issues/229](https://togithub.com/antfu/eslint-config/issues/229) [(0ff5e)](https://togithub.com/antfu/eslint-config/commit/0ff5e45) - Add rule `no-import-node-modules-by-path` - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/219](https://togithub.com/antfu/eslint-config/issues/219) [(cf124)](https://togithub.com/antfu/eslint-config/commit/cf1240c) ##### 🐞 Bug Fixes - Put `import` before `require` in exports - by [@antfu](https://togithub.com/antfu) [(ea307)](https://togithub.com/antfu/eslint-config/commit/ea307c9) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.39.8...v0.40.0) ### [`v0.39.8`](https://togithub.com/antfu/eslint-config/releases/tag/v0.39.8) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.39.7...v0.39.8) ##### 🚀 Features - **basic**: - Ban self import - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/213](https://togithub.com/antfu/eslint-config/issues/213) [(2ed85)](https://togithub.com/antfu/eslint-config/commit/2ed8536) - Prefer non global process object - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/214](https://togithub.com/antfu/eslint-config/issues/214) [(3ef95)](https://togithub.com/antfu/eslint-config/commit/3ef955d) ##### 🐞 Bug Fixes - **plugin**: Allow empty type import - by [@sxzz](https://togithub.com/sxzz) in [https://github.com/antfu/eslint-config/issues/218](https://togithub.com/antfu/eslint-config/issues/218) [(58219)](https://togithub.com/antfu/eslint-config/commit/5821926) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.39.7...v0.39.8) ### [`v0.39.7`](https://togithub.com/antfu/eslint-config/releases/tag/v0.39.7) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.39.6...v0.39.7) ##### 🚀 Features - Ban `new Array` - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/209](https://togithub.com/antfu/eslint-config/issues/209) [(be5bc)](https://togithub.com/antfu/eslint-config/commit/be5bc80) - **ts**: Enable `@typescript-eslint/ban-types` - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/210](https://togithub.com/antfu/eslint-config/issues/210) [(d4a9e)](https://togithub.com/antfu/eslint-config/commit/d4a9ebc) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.39.6...v0.39.7) ### [`v0.39.6`](https://togithub.com/antfu/eslint-config/releases/tag/v0.39.6) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.39.5...v0.39.6) ##### 🚀 Features - Switch to eslint-plugin-i - by [@arily](https://togithub.com/arily) in [https://github.com/antfu/eslint-config/issues/205](https://togithub.com/antfu/eslint-config/issues/205) [(504de)](https://togithub.com/antfu/eslint-config/commit/504de83) - **ts**: Ban `const enum` - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/201](https://togithub.com/antfu/eslint-config/issues/201) [(2bf0c)](https://togithub.com/antfu/eslint-config/commit/2bf0c8d) - **vue**: Enforce order of define macros - by [@kirklin](https://togithub.com/kirklin) in [https://github.com/antfu/eslint-config/issues/196](https://togithub.com/antfu/eslint-config/issues/196) [(f553c)](https://togithub.com/antfu/eslint-config/commit/f553c51) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.39.5...v0.39.6) ### [`v0.39.5`](https://togithub.com/antfu/eslint-config/releases/tag/v0.39.5) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.39.4...v0.39.5) ##### 🚀 Features - **basic**: Ban deprecated syntax - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/194](https://togithub.com/antfu/eslint-config/issues/194) [(0947d)](https://togithub.com/antfu/eslint-config/commit/0947ddb) ##### 🐞 Bug Fixes - Disable `@typescript-eslint/consistent-type-assertions` - by [@antfu](https://togithub.com/antfu) [(abf5c)](https://togithub.com/antfu/eslint-config/commit/abf5c27) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.39.4...v0.39.5) ### [`v0.39.4`](https://togithub.com/antfu/eslint-config/releases/tag/v0.39.4) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.39.3...v0.39.4) ##### 🚀 Features - **basic**: - Ban `global` variable - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/189](https://togithub.com/antfu/eslint-config/issues/189) [(e787e)](https://togithub.com/antfu/eslint-config/commit/e787e9a) - Ban some deprecated global functions - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/190](https://togithub.com/antfu/eslint-config/issues/190) [(aefa7)](https://togithub.com/antfu/eslint-config/commit/aefa76e) - **ts**: - Enable `@typescript-eslint/consistent-type-assertions` - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/188](https://togithub.com/antfu/eslint-config/issues/188) [(a3598)](https://togithub.com/antfu/eslint-config/commit/a3598d3) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.39.3...v0.39.4) ### [`v0.39.3`](https://togithub.com/antfu/eslint-config/releases/tag/v0.39.3) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.39.2...v0.39.3) ##### 🐞 Bug Fixes - **vue**: Disable `vue/no-dupe-keys` - by [@antfu](https://togithub.com/antfu) [(bb09e)](https://togithub.com/antfu/eslint-config/commit/bb09e1d) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.39.2...v0.39.3) ### [`v0.39.2`](https://togithub.com/antfu/eslint-config/releases/tag/v0.39.2) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.39.1...v0.39.2) ##### 🚀 Features - Update eslint-plugin-vue version - by [@kaivanwong](https://togithub.com/kaivanwong) in [https://github.com/antfu/eslint-config/issues/186](https://togithub.com/antfu/eslint-config/issues/186) [(ec494)](https://togithub.com/antfu/eslint-config/commit/ec49486) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.39.1...v0.39.2) ### [`v0.39.1`](https://togithub.com/antfu/eslint-config/releases/tag/v0.39.1) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.39.0...v0.39.1) ##### 🐞 Bug Fixes - Turn off cjs-check in markdown - by [@antfu](https://togithub.com/antfu) [(cdb02)](https://togithub.com/antfu/eslint-config/commit/cdb02c8) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.39.0...v0.39.1) ### [`v0.39.0`](https://togithub.com/antfu/eslint-config/releases/tag/v0.39.0) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.38.6...v0.39.0) ##### 🚀 Features - Validate `jsonc` file - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/184](https://togithub.com/antfu/eslint-config/issues/184) [(96dd9)](https://togithub.com/antfu/eslint-config/commit/96dd9a1) - **ts**: Ban cjs exports in ts file - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/167](https://togithub.com/antfu/eslint-config/issues/167) [(3ca0e)](https://togithub.com/antfu/eslint-config/commit/3ca0e7e) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.38.6...v0.39.0) ### [`v0.38.6`](https://togithub.com/antfu/eslint-config/releases/tag/v0.38.6) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.38.5...v0.38.6) ##### 🐞 Bug Fixes - Exclude vitepress cache - by [@antfu](https://togithub.com/antfu) [(e6cb7)](https://togithub.com/antfu/eslint-config/commit/e6cb799) - Relax markdown lint - by [@antfu](https://togithub.com/antfu) [(6503a)](https://togithub.com/antfu/eslint-config/commit/6503a15) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.38.5...v0.38.6) ### [`v0.38.5`](https://togithub.com/antfu/eslint-config/releases/tag/v0.38.5) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.38.4...v0.38.5) ##### 🚀 Features - Ban requrie imports in ts file - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/165](https://togithub.com/antfu/eslint-config/issues/165) [(78b40)](https://togithub.com/antfu/eslint-config/commit/78b405f) - Enable `no-invalid-this` - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/173](https://togithub.com/antfu/eslint-config/issues/173) [(ff74d)](https://togithub.com/antfu/eslint-config/commit/ff74d69) - **basic**: Consider comments for `newline-after-import` - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/164](https://togithub.com/antfu/eslint-config/issues/164) [(ebb96)](https://togithub.com/antfu/eslint-config/commit/ebb96c4) - **plugin**: Allow some one-line arrow functions - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/172](https://togithub.com/antfu/eslint-config/issues/172) [(506d1)](https://togithub.com/antfu/eslint-config/commit/506d17c) - **ts**: Ban namespace in ts file - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/166](https://togithub.com/antfu/eslint-config/issues/166) [(9fde0)](https://togithub.com/antfu/eslint-config/commit/9fde0f4) ##### 🐞 Bug Fixes - **basic**: Allow require imports in js file - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/169](https://togithub.com/antfu/eslint-config/issues/169) [(e2886)](https://togithub.com/antfu/eslint-config/commit/e28861a) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.38.4...v0.38.5) ### [`v0.38.4`](https://togithub.com/antfu/eslint-config/releases/tag/v0.38.4) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.38.3...v0.38.4) *No significant changes* ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.38.3...v0.38.4) ### [`v0.38.3`](https://togithub.com/antfu/eslint-config/releases/tag/v0.38.3) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.38.2...v0.38.3) ##### 🚀 Features - **basic**: - New line after import - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/161](https://togithub.com/antfu/eslint-config/issues/161) [(d1cd7)](https://togithub.com/antfu/eslint-config/commit/d1cd722) - Prefer non global object of node - by [@zanminkian](https://togithub.com/zanminkian) and [@antfu](https://togithub.com/antfu) in [https://github.com/antfu/eslint-config/issues/159](https://togithub.com/antfu/eslint-config/issues/159) [(502f6)](https://togithub.com/antfu/eslint-config/commit/502f6b0) ##### 🐞 Bug Fixes - **top-level-function**: Narrow warning range - by [@antfu](https://togithub.com/antfu) [(d2150)](https://togithub.com/antfu/eslint-config/commit/d2150ee) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.38.2...v0.38.3) ### [`v0.38.2`](https://togithub.com/antfu/eslint-config/releases/tag/v0.38.2) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.38.0...v0.38.2) *No significant changes* ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.38.1...v0.38.2) ### [`v0.38.0`](https://togithub.com/antfu/eslint-config/releases/tag/v0.38.0) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.37.0...v0.38.0) ##### 🚀 Features - Enforce to use function declaration on top-level - by [@antfu](https://togithub.com/antfu) [(87d26)](https://togithub.com/antfu/eslint-config/commit/87d26fb) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.37.0...v0.38.0) ### [`v0.37.0`](https://togithub.com/antfu/eslint-config/releases/tag/v0.37.0) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.36.0...v0.37.0) ##### 🚀 Features - Enable `vue/no-unused-refs` - by [@Demivan](https://togithub.com/Demivan) in [https://github.com/antfu/eslint-config/issues/158](https://togithub.com/antfu/eslint-config/issues/158) [(d3c11)](https://togithub.com/antfu/eslint-config/commit/d3c1119) - Upgrade deps, support typescript 5.0 - by [@antfu](https://togithub.com/antfu) [(76327)](https://togithub.com/antfu/eslint-config/commit/7632765) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.36.0...v0.37.0) ### [`v0.36.0`](https://togithub.com/antfu/eslint-config/releases/tag/v0.36.0) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.35.3...v0.36.0) ##### 🚀 Features - Enable `prefer-node-protocol` - by [@antfu](https://togithub.com/antfu) [(447d3)](https://togithub.com/antfu/eslint-config/commit/447d326) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.35.3...v0.36.0) ### [`v0.35.3`](https://togithub.com/antfu/eslint-config/releases/tag/v0.35.3) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.35.2...v0.35.3) ##### 🚀 Features - Add ignore list for lint-staged - by [@antfu](https://togithub.com/antfu) [(4167a)](https://togithub.com/antfu/eslint-config/commit/4167a78) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.35.2...v0.35.3) ### [`v0.35.2`](https://togithub.com/antfu/eslint-config/releases/tag/v0.35.2) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.35.1...v0.35.2) ##### 🐞 Bug Fixes - Disable `vue/no-v-text-v-html-on-component` - by [@antfu](https://togithub.com/antfu) [(7a2d6)](https://togithub.com/antfu/eslint-config/commit/7a2d63c) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.35.1...v0.35.2) ### [`v0.35.1`](https://togithub.com/antfu/eslint-config/releases/tag/v0.35.1) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.35.0...v0.35.1) ##### 🐞 Bug Fixes - Disable `@typescript-eslint/no-unused-vars` - by [@antfu](https://togithub.com/antfu) [(4b576)](https://togithub.com/antfu/eslint-config/commit/4b57638) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.35.0...v0.35.1) ### [`v0.35.0`](https://togithub.com/antfu/eslint-config/releases/tag/v0.35.0) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.34.2...v0.35.0) ##### 🚀 Features - Auto fix for unused imports - by [@antfu](https://togithub.com/antfu) [(f466a)](https://togithub.com/antfu/eslint-config/commit/f466ac5) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.34.2...v0.35.0) ### [`v0.34.2`](https://togithub.com/antfu/eslint-config/releases/tag/v0.34.2) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.34.1...v0.34.2) ##### 🚀 Features - Allow require() in cjs - by [@antfu](https://togithub.com/antfu) [(f45a0)](https://togithub.com/antfu/eslint-config/commit/f45a0d9) ##### 🐞 Bug Fixes - Group `&&`, ` - by ** ` and `?:` ([#152](https://togithub.com/antfu/eslint-config/issues/152))\*\* [()](https://togithub.com/antfu/eslint-config/commit/) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.34.1...v0.34.2) ### [`v0.34.1`](https://togithub.com/antfu/eslint-config/releases/tag/v0.34.1) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.34.0...v0.34.1) ##### 🚀 Features - **ts**: Enable `jest/unbound-method` - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/141](https://togithub.com/antfu/eslint-config/issues/141) [(2ad35)](https://togithub.com/antfu/eslint-config/commit/2ad3503) ##### 🐞 Bug Fixes - Allow void as statement in ts file - by [@zanminkian](https://togithub.com/zanminkian) in [https://github.com/antfu/eslint-config/issues/142](https://togithub.com/antfu/eslint-config/issues/142) [(5d5b3)](https://togithub.com/antfu/eslint-config/commit/5d5b3c3) - Prefer const when all variables in destructuring should be const - by [@sxzz](https://togithub.com/sxzz) in [https://github.com/antfu/eslint-config/issues/149](https://togithub.com/antfu/eslint-config/issues/149) [(2a224)](https://togithub.com/antfu/eslint-config/commit/2a224ef) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://togithub.com/antfu/eslint-config/releases/tag/v0.34.0) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v0.33.1...v0.34.0) ##### 🚀 Features - **basic**: - Disable `consistent-type-imports` in markdown file - by [@ZanMinKian](https://togithub.com/ZanMinKian) in [https://github.com/antfu/eslint-config/issues/138](https://togithub.com/antfu/eslint-config/issues/138) [(b5828)](https://togithub.com/antfu/eslint-config/commit/b58283d) - **ts**: - Add TypeScript Aware Rules from [@typescript-eslint/recommen](https://togithub.com/typescript-eslint/recommen)… - by [@kirklin](https://togithub.com/kirklin) in [https://github.com/antfu/eslint-config/issues/135](https://togithub.com/antfu/eslint-config/issues/135) [(b93f4)](https://togithub.com/antfu/eslint-config/commit/b93f48f) - Can change tsconfig by env - by [@ZanMinKian](https://togithub.com/ZanMinKian) in [https://github.com/antfu/eslint-config/issues/136](https://togithub.com/antfu/eslint-config/issues/136) [(fe73f)](https://togithub.com/antfu/eslint-config/commit/fe73faf) ##### 🐞 Bug Fixes - **basic**: Disallow multi empty lines at the end of file - by [@ZanMinKian](https://togithub.com/ZanMinKian) in [https://github.com/antfu/eslint-config/issues/137](https://togithub.com/antfu/eslint-config/issues/137) [(4d38b)](https://togithub.com/antfu/eslint-config/commit/4d38bd0) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v0.33.1...v0.34.0)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.