Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update all non-major dependencies (#8)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/typescript-eslint) | [`5.47.0` -> `5.48.1`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/5.47.0/5.48.1) | [![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.48.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.48.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.48.1/compatibility-slim/5.47.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.48.1/confidence-slim/5.47.0)](https://docs.renovatebot.com/merge-confidence/) | | [@typescript-eslint/parser](https://togithub.com/typescript-eslint/typescript-eslint) | [`5.47.0` -> `5.48.1`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/5.47.0/5.48.1) | [![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.48.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.48.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.48.1/compatibility-slim/5.47.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.48.1/confidence-slim/5.47.0)](https://docs.renovatebot.com/merge-confidence/) | | [eslint](https://eslint.org) ([source](https://togithub.com/eslint/eslint)) | [`8.30.0` -> `8.31.0`](https://renovatebot.com/diffs/npm/eslint/8.30.0/8.31.0) | [![age](https://badges.renovateapi.com/packages/npm/eslint/8.31.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/eslint/8.31.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/eslint/8.31.0/compatibility-slim/8.30.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/eslint/8.31.0/confidence-slim/8.30.0)](https://docs.renovatebot.com/merge-confidence/) | | [eslint-plugin-import](https://togithub.com/import-js/eslint-plugin-import) | [`2.26.0` -> `2.27.4`](https://renovatebot.com/diffs/npm/eslint-plugin-import/2.26.0/2.27.4) | [![age](https://badges.renovateapi.com/packages/npm/eslint-plugin-import/2.27.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/eslint-plugin-import/2.27.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/eslint-plugin-import/2.27.4/compatibility-slim/2.26.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/eslint-plugin-import/2.27.4/confidence-slim/2.26.0)](https://docs.renovatebot.com/merge-confidence/) | | [prettier](https://prettier.io) ([source](https://togithub.com/prettier/prettier)) | [`2.8.1` -> `2.8.2`](https://renovatebot.com/diffs/npm/prettier/2.8.1/2.8.2) | [![age](https://badges.renovateapi.com/packages/npm/prettier/2.8.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/prettier/2.8.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/prettier/2.8.2/compatibility-slim/2.8.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/prettier/2.8.2/confidence-slim/2.8.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)</summary> ### [`v5.48.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5481-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5480v5481-2023-01-09) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.48.0...v5.48.1) **Note:** Version bump only for package [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) ### [`v5.48.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5480-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5471v5480-2023-01-02) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.47.1...v5.48.0) ##### Features - **eslint-plugin:** specify which method is unbound and added test case ([#​6281](https://togithub.com/typescript-eslint/typescript-eslint/issues/6281)) ([cf3ffdd](https://togithub.com/typescript-eslint/typescript-eslint/commit/cf3ffdd49aceb734ce18dc44ed6a11f7701f178e)) #### [5.47.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.47.0...v5.47.1) (2022-12-26) ##### Bug Fixes - **ast-spec:** correct some incorrect ast types ([#​6257](https://togithub.com/typescript-eslint/typescript-eslint/issues/6257)) ([0f3f645](https://togithub.com/typescript-eslint/typescript-eslint/commit/0f3f64571ea5d938081b1a9f3fd1495765201700)) - **eslint-plugin:** \[member-ordering] correctly invert optionalityOrder ([#​6256](https://togithub.com/typescript-eslint/typescript-eslint/issues/6256)) ([ccd45d4](https://togithub.com/typescript-eslint/typescript-eslint/commit/ccd45d4a998946b7be1161f8c8216bc458e50b4e)) ### [`v5.47.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5471-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5470v5471-2022-12-26) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.47.0...v5.47.1) ##### Bug Fixes - **ast-spec:** correct some incorrect ast types ([#​6257](https://togithub.com/typescript-eslint/typescript-eslint/issues/6257)) ([0f3f645](https://togithub.com/typescript-eslint/typescript-eslint/commit/0f3f64571ea5d938081b1a9f3fd1495765201700)) - **eslint-plugin:** \[member-ordering] correctly invert optionalityOrder ([#​6256](https://togithub.com/typescript-eslint/typescript-eslint/issues/6256)) ([ccd45d4](https://togithub.com/typescript-eslint/typescript-eslint/commit/ccd45d4a998946b7be1161f8c8216bc458e50b4e)) </details> <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/parser)</summary> ### [`v5.48.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5481-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5480v5481-2023-01-09) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.48.0...v5.48.1) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.48.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5480-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5471v5480-2023-01-02) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.47.1...v5.48.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) #### [5.47.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.47.0...v5.47.1) (2022-12-26) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.47.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5471-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5470v5471-2022-12-26) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.47.0...v5.47.1) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) </details> <details> <summary>eslint/eslint</summary> ### [`v8.31.0`](https://togithub.com/eslint/eslint/releases/tag/v8.31.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.30.0...v8.31.0) #### Features - [`52c7c73`](https://togithub.com/eslint/eslint/commit/52c7c73c052e1ec2528c6b4af78181bc30cf8cdd) feat: check assignment patterns in no-underscore-dangle ([#​16693](https://togithub.com/eslint/eslint/issues/16693)) (Milos Djermanovic) - [`b401cde`](https://togithub.com/eslint/eslint/commit/b401cde47d44746ff91b8feced3fb3a4e32c0e12) feat: add options to check destructuring in no-underscore-dangle ([#​16006](https://togithub.com/eslint/eslint/issues/16006)) (Morten Kaltoft) - [`30d0daf`](https://togithub.com/eslint/eslint/commit/30d0daf55e85a412995f6d69f47cab3fb591f2c3) feat: group properties with values in parentheses in `key-spacing` ([#​16677](https://togithub.com/eslint/eslint/issues/16677)) (Francesco Trotta) #### Bug Fixes - [`35439f1`](https://togithub.com/eslint/eslint/commit/35439f1572e1a8888f7feb6c5e51a15b5582495d) fix: correct syntax error in `prefer-arrow-callback` autofix ([#​16722](https://togithub.com/eslint/eslint/issues/16722)) (Francesco Trotta) - [`87b2470`](https://togithub.com/eslint/eslint/commit/87b247058ed520061fe1a146b7f0e7072a94990d) fix: new instance of FlatESLint should load latest config file version ([#​16608](https://togithub.com/eslint/eslint/issues/16608)) (Milos Djermanovic) #### Documentation - [`4339dc4`](https://togithub.com/eslint/eslint/commit/4339dc462d78888fe2e10acdfacd6f57245ce6ae) docs: Update README (GitHub Actions Bot) - [`4e4049c`](https://togithub.com/eslint/eslint/commit/4e4049c5fa355b2091afc8948690fcd7b1c1e6df) docs: optimize code block structure ([#​16669](https://togithub.com/eslint/eslint/issues/16669)) (Sam Chen) - [`54a7ade`](https://togithub.com/eslint/eslint/commit/54a7ade5d8e6f59554afeb9202ba6143f8afdf57) docs: do not escape code blocks of formatters examples ([#​16719](https://togithub.com/eslint/eslint/issues/16719)) (Sam Chen) - [`e5ecfef`](https://togithub.com/eslint/eslint/commit/e5ecfefa1c952195a3a8371f5953cc655d844079) docs: Add function call example for no-undefined ([#​16712](https://togithub.com/eslint/eslint/issues/16712)) (Elliot Huffman) - [`a3262f0`](https://togithub.com/eslint/eslint/commit/a3262f0a6305d2a721fac137a60c62c019b26aa4) docs: Add mastodon link ([#​16638](https://togithub.com/eslint/eslint/issues/16638)) (Amaresh S M) - [`a14ccf9`](https://togithub.com/eslint/eslint/commit/a14ccf91af1122e419710f58ef494980fc4894b3) docs: clarify files property ([#​16709](https://togithub.com/eslint/eslint/issues/16709)) (Sam Chen) - [`3b29eb1`](https://togithub.com/eslint/eslint/commit/3b29eb14e00182614c986d8498b483a9917976e7) docs: fix npm link ([#​16710](https://togithub.com/eslint/eslint/issues/16710)) (Abdullah Osama) - [`a638673`](https://togithub.com/eslint/eslint/commit/a638673ee6e94344c46d12dfc988adeb3783f817) docs: fix search bar focus on `Esc` ([#​16700](https://togithub.com/eslint/eslint/issues/16700)) (Shanmughapriyan S) - [`f62b722`](https://togithub.com/eslint/eslint/commit/f62b722251858a5dfb157591910edbaaeb4a966f) docs: country flag missing in windows ([#​16698](https://togithub.com/eslint/eslint/issues/16698)) (Shanmughapriyan S) - [`4d27ec6`](https://togithub.com/eslint/eslint/commit/4d27ec6019847afabeebf592dddc014e9220057c) docs: display zh-hans in the docs language switcher ([#​16686](https://togithub.com/eslint/eslint/issues/16686)) (Percy Ma) - [`8bda20e`](https://togithub.com/eslint/eslint/commit/8bda20e8276c6ba17d31842fcdd63ba65476fbbd) docs: remove manually maintained anchors ([#​16685](https://togithub.com/eslint/eslint/issues/16685)) (Percy Ma) - [`b68440f`](https://togithub.com/eslint/eslint/commit/b68440ff2b8322fc00373792701169205c94ed94) docs: User Guide Getting Started expansion ([#​16596](https://togithub.com/eslint/eslint/issues/16596)) (Ben Perlmutter) #### Chores - [`65d4e24`](https://togithub.com/eslint/eslint/commit/65d4e24c36367cd63f0eba7371820e0e81dae7aa) chore: Upgrade [@​eslint/eslintrc](https://togithub.com/eslint/eslintrc)[@​1](https://togithub.com/1).4.1 ([#​16729](https://togithub.com/eslint/eslint/issues/16729)) (Brandon Mills) - [`8d93081`](https://togithub.com/eslint/eslint/commit/8d93081a717f6e8b8cb60c3075cc1d7e4e655e6b) chore: fix CI failure ([#​16721](https://togithub.com/eslint/eslint/issues/16721)) (Sam Chen) - [`8f17247`](https://togithub.com/eslint/eslint/commit/8f17247a93240ff8a08980d8e06352e4ff4e8fe3) chore: Set up automatic updating of README ([#​16717](https://togithub.com/eslint/eslint/issues/16717)) (Nicholas C. Zakas) - [`4cd87cb`](https://togithub.com/eslint/eslint/commit/4cd87cb3c52412277577ba00c4fbb1aec36acc8c) ci: bump actions/stale from 6 to 7 ([#​16713](https://togithub.com/eslint/eslint/issues/16713)) (dependabot\[bot]) - [`fd20c75`](https://togithub.com/eslint/eslint/commit/fd20c75b1059c54d598c0abaf63e7d7a80f04f32) chore: sort package.json scripts in alphabetical order ([#​16705](https://togithub.com/eslint/eslint/issues/16705)) (Darius Dzien) - [`10a5c78`](https://togithub.com/eslint/eslint/commit/10a5c7839370219c79f44d4206cbd7c28a72bad5) chore: update ignore patterns in `eslint.config.js` ([#​16678](https://togithub.com/eslint/eslint/issues/16678)) (Milos Djermanovic) </details> <details> <summary>import-js/eslint-plugin-import</summary> ### [`v2.27.4`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#​2274---2023-01-11) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.27.3...v2.27.4) ##### Fixed - `semver` should be a prod dep (\[[#​2668](https://togithub.com/import-js/eslint-plugin-import/issues/2668)]) ### [`v2.27.3`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#​2273---2023-01-11) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.27.2...v2.27.3) ##### Fixed - \[`no-empty-named-blocks`]: rewrite rule to only check import declarations (\[[#​2666](https://togithub.com/import-js/eslint-plugin-import/issues/2666)]) ### [`v2.27.2`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#​2272---2023-01-11) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.27.1...v2.27.2) ##### Fixed - \[`no-duplicates`]: do not unconditionally require `typescript` (\[[#​2665](https://togithub.com/import-js/eslint-plugin-import/issues/2665)]) ### [`v2.27.1`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#​2271---2023-01-11) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.27.0...v2.27.1) ##### Fixed - `array.prototype.flatmap` should be a prod dep (\[[#​2664](https://togithub.com/import-js/eslint-plugin-import/issues/2664)], thanks \[[@​cristobal](https://togithub.com/cristobal)]) ### [`v2.27.0`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#​2270---2023-01-11) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.26.0...v2.27.0) ##### Added - \[`newline-after-import`]: add `considerComments` option (\[[#​2399](https://togithub.com/import-js/eslint-plugin-import/issues/2399)], thanks \[[@​pri1311](https://togithub.com/pri1311)]) - \[`no-cycle`]: add `allowUnsafeDynamicCyclicDependency` option (\[[#​2387](https://togithub.com/import-js/eslint-plugin-import/issues/2387)], thanks \[[@​GerkinDev](https://togithub.com/GerkinDev)]) - \[`no-restricted-paths`]: support arrays for `from` and `target` options (\[[#​2466](https://togithub.com/import-js/eslint-plugin-import/issues/2466)], thanks \[[@​AdriAt360](https://togithub.com/AdriAt360)]) - \[`no-anonymous-default-export`]: add `allowNew` option (\[[#​2505](https://togithub.com/import-js/eslint-plugin-import/issues/2505)], thanks \[[@​DamienCassou](https://togithub.com/DamienCassou)]) - \[`order`]: Add `distinctGroup` option (\[[#​2395](https://togithub.com/import-js/eslint-plugin-import/issues/2395)], thanks \[[@​hyperupcall](https://togithub.com/hyperupcall)]) - \[`no-extraneous-dependencies`]: Add `includeInternal` option (\[[#​2541](https://togithub.com/import-js/eslint-plugin-import/issues/2541)], thanks \[[@​bdwain](https://togithub.com/bdwain)]) - \[`no-extraneous-dependencies`]: Add `includeTypes` option (\[[#​2543](https://togithub.com/import-js/eslint-plugin-import/issues/2543)], thanks \[[@​bdwain](https://togithub.com/bdwain)]) - \[`order`]: new `alphabetize.orderImportKind` option to sort imports with same path based on their kind (`type`, `typeof`) (\[[#​2544](https://togithub.com/import-js/eslint-plugin-import/issues/2544)], thanks \[[@​stropho](https://togithub.com/stropho)]) - \[`consistent-type-specifier-style`]: add rule (\[[#​2473](https://togithub.com/import-js/eslint-plugin-import/issues/2473)], thanks \[[@​bradzacher](https://togithub.com/bradzacher)]) - Add \[`no-empty-named-blocks`] rule (\[[#​2568](https://togithub.com/import-js/eslint-plugin-import/issues/2568)], thanks \[[@​guilhermelimak](https://togithub.com/guilhermelimak)]) - \[`prefer-default-export`]: add "target" option (\[[#​2602](https://togithub.com/import-js/eslint-plugin-import/issues/2602)], thanks \[[@​azyzz228](https://togithub.com/azyzz228)]) - \[`no-absolute-path`]: add fixer (\[[#​2613](https://togithub.com/import-js/eslint-plugin-import/issues/2613)], thanks \[[@​adipascu](https://togithub.com/adipascu)]) - \[`no-duplicates`]: support inline type import with `inlineTypeImport` option (\[[#​2475](https://togithub.com/import-js/eslint-plugin-import/issues/2475)], thanks \[[@​snewcomer](https://togithub.com/snewcomer)]) ##### Fixed - \[`order`]: move nested imports closer to main import entry (\[[#​2396](https://togithub.com/import-js/eslint-plugin-import/issues/2396)], thanks \[[@​pri1311](https://togithub.com/pri1311)]) - \[`no-restricted-paths`]: fix an error message (\[[#​2466](https://togithub.com/import-js/eslint-plugin-import/issues/2466)], thanks \[[@​AdriAt360](https://togithub.com/AdriAt360)]) - \[`no-restricted-paths`]: use `Minimatch.match` instead of `minimatch` to comply with Windows Native paths (\[[#​2466](https://togithub.com/import-js/eslint-plugin-import/issues/2466)], thanks \[[@​AdriAt360](https://togithub.com/AdriAt360)]) - \[`order`]: require with member expression could not be fixed if alphabetize.order was used (\[[#​2490](https://togithub.com/import-js/eslint-plugin-import/issues/2490)], thanks \[[@​msvab](https://togithub.com/msvab)]) - \[`order`]: leave more space in rankings for consecutive path groups (\[[#​2506](https://togithub.com/import-js/eslint-plugin-import/issues/2506)], thanks \[[@​Pearce-Ropion](https://togithub.com/Pearce-Ropion)]) - \[`no-cycle`]: add ExportNamedDeclaration statements to dependencies (\[[#​2511](https://togithub.com/import-js/eslint-plugin-import/issues/2511)], thanks \[[@​BenoitZugmeyer](https://togithub.com/BenoitZugmeyer)]) - \[`dynamic-import-chunkname`]: prevent false report on a valid webpack magic comment (\[[#​2330](https://togithub.com/import-js/eslint-plugin-import/issues/2330)], thanks \[[@​mhmadhamster](https://togithub.com/mhmadhamster)]) - \[`export`]: do not error on TS export overloads (\[[#​1590](https://togithub.com/import-js/eslint-plugin-import/issues/1590)], thanks \[[@​ljharb](https://togithub.com/ljharb)]) - \[`no-unresolved`], \[`extensions`]: ignore type only exports (\[[#​2436](https://togithub.com/import-js/eslint-plugin-import/issues/2436)], thanks \[[@​Lukas-Kullmann](https://togithub.com/Lukas-Kullmann)]) - `ExportMap`: add missing param to function (\[[#​2589](https://togithub.com/import-js/eslint-plugin-import/issues/2589)], thanks \[[@​Fdawgs](https://togithub.com/Fdawgs)]) - \[`no-unused-modules`]: `checkPkgFieldObject` filters boolean fields from checks (\[[#​2598](https://togithub.com/import-js/eslint-plugin-import/issues/2598)], thanks \[[@​mpint](https://togithub.com/mpint)]) - \[`no-cycle`]: accept Flow `typeof` imports, just like `type` (\[[#​2608](https://togithub.com/import-js/eslint-plugin-import/issues/2608)], thanks \[[@​gnprice](https://togithub.com/gnprice)]) - \[`no-import-module-exports`]: avoid a false positive for import variables (\[[#​2315](https://togithub.com/import-js/eslint-plugin-import/issues/2315)], thanks \[[@​BarryThePenguin](https://togithub.com/BarryThePenguin)]) ##### Changed - \[Tests] \[`named`]: Run all TypeScript test (\[[#​2427](https://togithub.com/import-js/eslint-plugin-import/issues/2427)], thanks \[[@​ProdigySim](https://togithub.com/ProdigySim)]) - \[readme] note use of typescript in readme `import/extensions` section (\[[#​2440](https://togithub.com/import-js/eslint-plugin-import/issues/2440)], thanks \[[@​OutdatedVersion](https://togithub.com/OutdatedVersion)]) - \[Docs] \[`order`]: use correct default value (\[[#​2392](https://togithub.com/import-js/eslint-plugin-import/issues/2392)], thanks \[[@​hyperupcall](https://togithub.com/hyperupcall)]) - \[meta] replace git.io link in comments with the original URL (\[[#​2444](https://togithub.com/import-js/eslint-plugin-import/issues/2444)], thanks \[[@​liby](https://togithub.com/liby)]) - \[Docs] remove global install in readme (\[[#​2412](https://togithub.com/import-js/eslint-plugin-import/issues/2412)], thanks \[[@​aladdin-add](https://togithub.com/aladdin-add)]) - \[readme] clarify `eslint-import-resolver-typescript` usage (\[[#​2503](https://togithub.com/import-js/eslint-plugin-import/issues/2503)], thanks \[[@​JounQin](https://togithub.com/JounQin)]) - \[Refactor] \[`no-cycle`]: Add per-run caching of traversed paths (\[[#​2419](https://togithub.com/import-js/eslint-plugin-import/issues/2419)], thanks \[[@​nokel81](https://togithub.com/nokel81)]) - \[Performance] `ExportMap`: add caching after parsing for an ambiguous module (\[[#​2531](https://togithub.com/import-js/eslint-plugin-import/issues/2531)], thanks \[[@​stenin-nikita](https://togithub.com/stenin-nikita)]) - \[Docs] \[`no-useless-path-segments`]: fix paths (\[[#​2424](https://togithub.com/import-js/eslint-plugin-import/issues/2424)], thanks \[[@​s-h-a-d-o-w](https://togithub.com/s-h-a-d-o-w)]) - \[Tests] \[`no-cycle`]: add passing test cases (\[[#​2438](https://togithub.com/import-js/eslint-plugin-import/issues/2438)], thanks \[[@​georeith](https://togithub.com/georeith)]) - \[Refactor] \[`no-extraneous-dependencies`] improve performance using cache (\[[#​2374](https://togithub.com/import-js/eslint-plugin-import/issues/2374)], thanks \[[@​meowtec](https://togithub.com/meowtec)]) - \[meta] `CONTRIBUTING.md`: mention inactive PRs (\[[#​2546](https://togithub.com/import-js/eslint-plugin-import/issues/2546)], thanks \[[@​stropho](https://togithub.com/stropho)]) - \[readme] make json for setting groups multiline (\[[#​2570](https://togithub.com/import-js/eslint-plugin-import/issues/2570)], thanks \[[@​bertyhell](https://togithub.com/bertyhell)]) - \[Tests] \[`no-restricted-paths`]: Tests for `import type` statements (\[[#​2459](https://togithub.com/import-js/eslint-plugin-import/issues/2459)], thanks \[[@​golergka](https://togithub.com/golergka)]) - \[Tests] \[`no-restricted-paths`]: fix one failing `import type` test case, submitted by \[[@​golergka](https://togithub.com/golergka)], thanks \[[@​azyzz228](https://togithub.com/azyzz228)] - \[Docs] automate docs with eslint-doc-generator (\[[#​2582](https://togithub.com/import-js/eslint-plugin-import/issues/2582)], thanks \[[@​bmish](https://togithub.com/bmish)]) - \[readme] Increase clarity around typescript configuration (\[[#​2588](https://togithub.com/import-js/eslint-plugin-import/issues/2588)], thanks \[[@​Nfinished](https://togithub.com/Nfinished)]) - \[Docs] update `eslint-doc-generator` to v1.0.0 (\[[#​2605](https://togithub.com/import-js/eslint-plugin-import/issues/2605)], thanks \[[@​bmish](https://togithub.com/bmish)]) - \[Perf] \[`no-cycle`], \[`no-internal-modules`], \[`no-restricted-paths`]: use `anyOf` instead of `oneOf` (thanks \[[@​ljharb](https://togithub.com/ljharb)], \[[@​remcohaszing](https://togithub.com/remcohaszing)]) </details> <details> <summary>prettier/prettier</summary> ### [`v2.8.2`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​282) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.1...2.8.2) [diff](https://togithub.com/prettier/prettier/compare/2.8.1...2.8.2) ##### Don't lowercase link references ([#​13155](https://togithub.com/prettier/prettier/pull/13155) by [@​DerekNonGeneric](https://togithub.com/DerekNonGeneric) & [@​fisker](https://togithub.com/fisker)) <!-- prettier-ignore --> ```markdown <!-- Input --> We now don't strictly follow the release notes format suggested by [Keep a Changelog]. [Keep a Changelog]: https://example.com/ <!-- Prettier 2.8.1 --> We now don't strictly follow the release notes format suggested by [Keep a Changelog]. [keep a changelog]: https://example.com/ <!-- ^^^^^^^^^^^^^^^^^^ lowercased --> <!-- Prettier 2.8.2 --> <Same as input> ``` ##### Preserve self-closing tags ([#​13691](https://togithub.com/prettier/prettier/pull/13691) by [@​dcyriller](https://togithub.com/dcyriller)) <!-- prettier-ignore --> ```hbs {{! Input }} <div /> <div></div> <custom-component /> <custom-component></custom-component> <i /> <i></i> <Component /> <Component></Component> {{! Prettier 2.8.1 }} <div></div> <div></div> <custom-component></custom-component> <custom-component></custom-component> <i></i> <i></i> <Component /> <Component /> {{! Prettier 2.8.2 }} <div /> <div></div> <custom-component /> <custom-component></custom-component> <i /> <i></i> <Component /> <Component /> ``` ##### Allow custom "else if"-like blocks with block params ([#​13930](https://togithub.com/prettier/prettier/pull/13930) by [@​jamescdavis](https://togithub.com/jamescdavis)) [#​13507](https://togithub.com/prettier/prettier/issues/13507) added support for custom block keywords used with `else`, but failed to allow block params. This updates printer-glimmer to allow block params with custom "else if"-like blocks. <!-- prettier-ignore --> ```hbs {{! Input }} {{#when isAtWork as |work|}} Ship that {{work}}! {{else when isReading as |book|}} You can finish {{book}} eventually... {{else}} Go to bed! {{/when}} {{! Prettier 2.8.1 }} {{#when isAtWork as |work|}} Ship that {{work}}! {{else when isReading}} You can finish {{book}} eventually... {{else}} Go to bed! {{/when}} {{! Prettier 2.8.2 }} {{#when isAtWork as |work|}} Ship that {{work}}! {{else when isReading as |book|}} You can finish {{book}} eventually... {{else}} Go to bed! {{/when}} ``` ##### Preserve empty lines between nested SCSS maps ([#​13931](https://togithub.com/prettier/prettier/pull/13931) by [@​jneander](https://togithub.com/jneander)) <!-- prettier-ignore --> ```scss /* Input */ $map: ( 'one': ( 'key': 'value', ), 'two': ( 'key': 'value', ), ) /* Prettier 2.8.1 */ $map: ( 'one': ( 'key': 'value', ), 'two': ( 'key': 'value', ), ) /* Prettier 2.8.2 */ $map: ( 'one': ( 'key': 'value', ), 'two': ( 'key': 'value', ), ) ``` ##### Fix missing parentheses when an expression statement starts with `let[` ([#​14000](https://togithub.com/prettier/prettier/pull/14000), [#​14044](https://togithub.com/prettier/prettier/pull/14044) by [@​fisker](https://togithub.com/fisker), [@​thorn0](https://togithub.com/thorn0)) <!-- prettier-ignore --> ```jsx // Input (let[0] = 2); // Prettier 2.8.1 let[0] = 2; // Prettier 2.8.1 (second format) SyntaxError: Unexpected token (1:5) > 1 | let[0] = 2; | ^ 2 | // Prettier 2.8.2 (let)[0] = 2; ``` ##### Fix semicolon duplicated at the end of LESS file ([#​14007](https://togithub.com/prettier/prettier/pull/14007) by [@​mvorisek](https://togithub.com/mvorisek)) <!-- prettier-ignore --> ```less // Input @​variable: { field: something; }; // Prettier 2.8.1 @​variable: { field: something; }; ; // Prettier 2.8.2 @​variable: { field: something; }; ``` ##### Fix no space after unary minus when followed by opening parenthesis in LESS ([#​14008](https://togithub.com/prettier/prettier/pull/14008) by [@​mvorisek](https://togithub.com/mvorisek)) <!-- prettier-ignore --> ```less // Input .unary_minus_single { margin: -(@​a); } .unary_minus_multi { margin: 0 -(@​a); } .binary_minus { margin: 0 - (@​a); } // Prettier 2.8.1 .unary_minus_single { margin: - (@​a); } .unary_minus_multi { margin: 0 - (@​a); } .binary_minus { margin: 0 - (@​a); } // Prettier 2.8.2 .unary_minus_single { margin: -(@​a); } .unary_minus_multi { margin: 0 -(@​a); } .binary_minus { margin: 0 - (@​a); } ``` ##### Do not change case of property name if inside a variable declaration in LESS ([#​14034](https://togithub.com/prettier/prettier/pull/14034) by [@​mvorisek](https://togithub.com/mvorisek)) <!-- prettier-ignore --> ```less // Input @​var: { preserveCase: 0; }; // Prettier 2.8.1 @​var: { preservecase: 0; }; // Prettier 2.8.2 @​var: { preserveCase: 0; }; ``` ##### Fix formatting for auto-accessors with comments ([#​14038](https://togithub.com/prettier/prettier/pull/14038) by [@​fisker](https://togithub.com/fisker)) <!-- prettier-ignore --> ```jsx // Input class A { @​dec() // comment accessor b; } // Prettier 2.8.1 class A { @​dec() accessor // comment b; } // Prettier 2.8.1 (second format) class A { @​dec() accessor; // comment b; } // Prettier 2.8.2 class A { @​dec() // comment accessor b; } ``` ##### Add parentheses for TSTypeQuery to improve readability ([#​14042](https://togithub.com/prettier/prettier/pull/14042) by [@​onishi-kohei](https://togithub.com/onishi-kohei)) <!-- prettier-ignore --> ```tsx // Input a as (typeof node.children)[number] a as (typeof node.children)[] a as ((typeof node.children)[number])[] // Prettier 2.8.1 a as typeof node.children[number]; a as typeof node.children[]; a as typeof node.children[number][]; // Prettier 2.8.2 a as (typeof node.children)[number]; a as (typeof node.children)[]; a as (typeof node.children)[number][]; ``` ##### Fix displacing of comments in default switch case ([#​14047](https://togithub.com/prettier/prettier/pull/14047) by [@​thorn0](https://togithub.com/thorn0)) It was a regression in Prettier 2.6.0. <!-- prettier-ignore --> ```jsx // Input switch (state) { default: result = state; // no change break; } // Prettier 2.8.1 switch (state) { default: // no change result = state; break; } // Prettier 2.8.2 switch (state) { default: result = state; // no change break; } ``` ##### Support type annotations on auto accessors via `babel-ts` ([#​14049](https://togithub.com/prettier/prettier/pull/14049) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) [The bug that `@babel/parser` cannot parse auto accessors with type annotations](https://togithub.com/babel/babel/issues/15205) has been fixed. So we now support it via `babel-ts` parser. <!-- prettier-ignore --> ```tsx class Foo { accessor prop: number; } ``` ##### Fix formatting of empty type parameters ([#​14073](https://togithub.com/prettier/prettier/pull/14073) by [@​fisker](https://togithub.com/fisker)) <!-- prettier-ignore --> ```jsx // Input const foo: bar</* comment */> = () => baz; // Prettier 2.8.1 Error: Comment "comment" was not printed. Please report this error! // Prettier 2.8.2 const foo: bar</* comment */> = () => baz; ``` ##### Add parentheses to head of `ExpressionStatement` instead of the whole statement ([#​14077](https://togithub.com/prettier/prettier/pull/14077) by [@​fisker](https://togithub.com/fisker)) <!-- prettier-ignore --> ```jsx // Input ({}).toString.call(foo) === "[object Array]" ? foo.forEach(iterateArray) : iterateObject(foo); // Prettier 2.8.1 ({}.toString.call(foo) === "[object Array]" ? foo.forEach(iterateArray) : iterateObject(foo)); // Prettier 2.8.2 ({}).toString.call(foo.forEach) === "[object Array]" ? foo.forEach(iterateArray) : iterateObject(foo); ``` ##### Fix comments after directive ([#​14081](https://togithub.com/prettier/prettier/pull/14081) by [@​fisker](https://togithub.com/fisker)) <!-- prettier-ignore --> ```jsx // Input "use strict" /* comment */; // Prettier 2.8.1 (with other js parsers except `babel`) Error: Comment "comment" was not printed. Please report this error! // Prettier 2.8.2 <Same as input> ``` ##### Fix formatting for comments inside JSX attribute ([#​14082](https://togithub.com/prettier/prettier/pull/14082) with by [@​fisker](https://togithub.com/fisker)) <!-- prettier-ignore --> ```jsx // Input function MyFunctionComponent() { <button label=/*old*/"new">button</button> } // Prettier 2.8.1 Error: Comment "old" was not printed. Please report this error! // Prettier 2.8.2 function MyFunctionComponent() { <button label=/*old*/ "new">button</button>; } ``` ##### Quote numeric keys for json-stringify parser ([#​14083](https://togithub.com/prettier/prettier/pull/14083) by [@​fisker](https://togithub.com/fisker)) <!-- prettier-ignore --> ```jsx // Input {0: 'value'} // Prettier 2.8.1 { 0: "value" } // Prettier 2.8.2 { "0": "value" } ``` ##### Fix removing commas from function arguments in maps ([#​14089](https://togithub.com/prettier/prettier/pull/14089) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) <!-- prettier-ignore --> ```scss /* Input */ $foo: map-fn( ( "#{prop}": inner-fn($first, $second), ) ); /* Prettier 2.8.1 */ $foo: map-fn(("#{prop}": inner-fn($first $second))); /* Prettier 2.8.2 */ $foo: map-fn( ( "#{prop}": inner-fn($first, $second), ) ); ``` ##### Do not insert space in LESS property access ([#​14103](https://togithub.com/prettier/prettier/pull/14103) by [@​fisker](https://togithub.com/fisker)) <!-- prettier-ignore --> ```less // Input a { color: @​colors[@​white]; } // Prettier 2.8.1 a { color: @​colors[ @​white]; } // Prettier 2.8.2 <Same as input> ``` </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/apollographql/federation-subgraph-compatibility). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC44NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuMTAwLjEifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information