prettier-eslint
Version:
Formats your JavaScript using prettier followed by eslint --fix
122 lines (61 loc) • 6.71 kB
Markdown
# CHANGELOG
## 17.1.3
### Patch Changes
- [#1227](https://github.com/prettier/prettier-eslint/pull/1227) [`f4c6636`](https://github.com/prettier/prettier-eslint/commit/f4c6636c25bd982d89fcd00230d25cdaae153eab) Thanks [@Pushkar236](https://github.com/Pushkar236)! - With `indent: tab`, read `tabWidth` from `max-len` the way ESLint does, so a positional line length (`['error', 120]`) is no longer used as the tab width.
## 17.1.2
### Patch Changes
- [#1221](https://github.com/prettier/prettier-eslint/pull/1221) [`52c1808`](https://github.com/prettier/prettier-eslint/commit/52c1808f2aa8be8a83078bc328dd12691dae3bfe) Thanks [@hamzahamidi](https://github.com/hamzahamidi)! - Include the effective `cwd` in the ESLint instance and config cache keys, so a `process.cwd()` change no longer returns an entry resolved for a different directory.
## 17.1.1
### Patch Changes
- [#1214](https://github.com/prettier/prettier-eslint/pull/1214) [`38cdf17`](https://github.com/prettier/prettier-eslint/commit/38cdf17286014e6deb1b5ba4b9feb995141ad7b8) Thanks [@JounQin](https://github.com/JounQin)! - Improve repeated formatting performance by caching ESLint instances and resolved configs, and by skipping expensive log serialization unless verbose logging is enabled.
## 17.1.0
### Minor Changes
- [#1210](https://github.com/prettier/prettier-eslint/pull/1210) [`ffc5d0a`](https://github.com/prettier/prettier-eslint/commit/ffc5d0a81744d2a2f548afb22198afc5e8e2ab53) Thanks [@JounQin](https://github.com/JounQin)! - Migrate to pure ESM, replace Jest with Vitest, and drop legacy helper dependencies.
## 17.0.1
### Patch Changes
- [#1209](https://github.com/prettier/prettier-eslint/pull/1209) [`a381602`](https://github.com/prettier/prettier-eslint/commit/a381602018696b93f6150b005d3d684879002b46) Thanks [@JounQin](https://github.com/JounQin)! - Expose `FormatOptions` from the CommonJS type declarations.
- [#1207](https://github.com/prettier/prettier-eslint/pull/1207) [`cd76500`](https://github.com/prettier/prettier-eslint/commit/cd765006f22fd8eb26e9655e370290d0363b1799) Thanks [@JounQin](https://github.com/JounQin)! - Align exported log level types with `loglevel`.
## 17.0.0
### Major Changes
- [#1190](https://github.com/prettier/prettier-eslint/pull/1190) [`54d8390`](https://github.com/prettier/prettier-eslint/commit/54d839040e24be735db87c21a4d623b89b4d58cb) Thanks [@JounQin](https://github.com/JounQin)! - feat!: bump ESLint v10 with only flat config support
### Patch Changes
- [#1193](https://github.com/prettier/prettier-eslint/pull/1193) [`0bd2e77`](https://github.com/prettier/prettier-eslint/commit/0bd2e777392edcb0de26d819328c9ea0378caa0d) Thanks [@JounQin](https://github.com/JounQin)! - fix: use `overrideConfigFile: true` + `overrideConfig` instead
## 17.0.0-alpha.1
### Patch Changes
- [#1193](https://github.com/prettier/prettier-eslint/pull/1193) [`0bd2e77`](https://github.com/prettier/prettier-eslint/commit/0bd2e777392edcb0de26d819328c9ea0378caa0d) Thanks [@JounQin](https://github.com/JounQin)! - fix: use `overrideConfigFile: true` + `overrideConfig` instead
## 17.0.0-alpha.0
### Major Changes
- [#1190](https://github.com/prettier/prettier-eslint/pull/1190) [`54d8390`](https://github.com/prettier/prettier-eslint/commit/54d839040e24be735db87c21a4d623b89b4d58cb) Thanks [@JounQin](https://github.com/JounQin)! - feat!: support ESLint v9 flat config
## 16.4.2
### Patch Changes
- [#1186](https://github.com/prettier/prettier-eslint/pull/1186) [`96967e9`](https://github.com/prettier/prettier-eslint/commit/96967e9a4eb7a99a52f65ff94b0155c2ce679c3e) Thanks [@bpfoster](https://github.com/bpfoster)! - fix: `tslib` should be listed as `dependency`
## 16.4.1
### Patch Changes
- [#1182](https://github.com/prettier/prettier-eslint/pull/1182) [`53735a1`](https://github.com/prettier/prettier-eslint/commit/53735a11915d6375f8964d7c813c5c1a13913783) Thanks [@JounQin](https://github.com/JounQin)! - fix: export entry regression
## 16.4.0
### Minor Changes
- [#1179](https://github.com/prettier/prettier-eslint/pull/1179) [`2262e7f`](https://github.com/prettier/prettier-eslint/commit/2262e7fb1ec8bb68eebca3bbceded6612bb62467) Thanks [@JounQin](https://github.com/JounQin)! - feat: migrate to TypeScript with 100% compatibility
## 16.3.2
### Patch Changes
- [#1176](https://github.com/prettier/prettier-eslint/pull/1176) [`7f8db7c`](https://github.com/prettier/prettier-eslint/commit/7f8db7cc89639ecbd21d0af6f6b06bf306b67086) Thanks [@JounQin](https://github.com/JounQin)! - fix: remove `preinstall` script
## 16.3.1
### Patch Changes
- [#1171](https://github.com/prettier/prettier-eslint/pull/1171) [`700065e`](https://github.com/prettier/prettier-eslint/commit/700065e4bfbd0243004c5f3310a60d4256a7491f) Thanks [@JounQin](https://github.com/JounQin)! - chore: take `.cjs`, `.cts`, `.mts` into account
## 16.3.0
### Minor Changes
- [#950](https://github.com/prettier/prettier-eslint/pull/950) [`84184387e6adadc4fb800194edfcf499a46585d4`](https://github.com/prettier/prettier-eslint/commit/84184387e6adadc4fb800194edfcf499a46585d4) Thanks [@robertheessels](https://github.com/robertheessels)! - feat: support handling `.svelte` files
## 16.2.0
### Minor Changes
- [#827](https://github.com/prettier/prettier-eslint/pull/827) [`6ba802531b74863c6a9cb858c2534d151630fa2b`](https://github.com/prettier/prettier-eslint/commit/6ba802531b74863c6a9cb858c2534d151630fa2b) Thanks [@gwhitney](https://github.com/gwhitney)! - feat: Allow clients to access messages from ESLint
## 16.1.2
### Patch Changes
- [#942](https://github.com/prettier/prettier-eslint/pull/942) [`103cc51`](https://github.com/prettier/prettier-eslint/commit/103cc517ef5c2bdd8e043dba5a8facf860d0f6be) Thanks [@jkrehm](https://github.com/jkrehm)! - fix: update `resolveConfig` to work with Prettier 3
## 16.1.1
### Patch Changes
- [#940](https://github.com/prettier/prettier-eslint/pull/940) [`b66a73a`](https://github.com/prettier/prettier-eslint/commit/b66a73a6e547d0538f51dc89d526e51aecfa0484) Thanks [@JounQin](https://github.com/JounQin)! - fix: @changesets/cli and @types/eslint should be devDependencies
## 16.1.0
### Minor Changes
- [#938](https://github.com/prettier/prettier-eslint/pull/938) [`4943e6b`](https://github.com/prettier/prettier-eslint/commit/4943e6b1cac553b781cc801e473ceb869a80d947) Thanks [@JounQin](https://github.com/JounQin)! - feat!: bump all (dev)Dependencies, drop node < 16.10
## 16.0.0
### Major Changes
- [#901](https://github.com/prettier/prettier-eslint/pull/901) [`65c8b57`](https://github.com/prettier/prettier-eslint/commit/65c8b5782843860e96cf1bbdedf40367a58d6186) Thanks [@timdp](https://github.com/timdp)! - feat! add support for prettier v3