NullVoxPopuli / ember-deep-tracked

Deep auto-tracking for when you just don't care, and want things to work (at the cost of performance in some situtations)
MIT License
30 stars 5 forks source link

chore(deps): update lint dependencies (major) - autoclosed #335

Closed renovate[bot] closed 10 months ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ember-template-lint ^4.0.0 -> ^5.0.0 age adoption passing confidence
eslint-config-prettier ^8.3.0 -> ^9.0.0 age adoption passing confidence
eslint-plugin-prettier ^4.0.0 -> ^5.0.0 age adoption passing confidence
prettier (source) ^2.5.1 -> ^3.0.0 age adoption passing confidence

Release Notes

ember-template-lint/ember-template-lint (ember-template-lint) ### [`v5.13.0`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v5130-2023-11-21) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v5.12.0...v5.13.0) ##### :rocket: Enhancement - [#​2990](https://togithub.com/ember-template-lint/ember-template-lint/pull/2990) Add new rule `no-builtin-form-components` ([@​gilest](https://togithub.com/gilest)) ##### Committers: 1 - Giles Thompson ([@​gilest](https://togithub.com/gilest)) ### [`v5.12.0`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v5120-2023-11-04) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v5.11.2...v5.12.0) ##### :rocket: Enhancement - [#​1931](https://togithub.com/ember-template-lint/ember-template-lint/pull/1931) Add new rule `no-action-on-submit-button` ([@​JoaoDsv](https://togithub.com/JoaoDsv)) - [#​2970](https://togithub.com/ember-template-lint/ember-template-lint/pull/2970) Support auto-lookup of `.mjs` and `.cjs` config files ([@​bertdeblock](https://togithub.com/bertdeblock)) ##### :bug: Bug Fix - [#​2982](https://togithub.com/ember-template-lint/ember-template-lint/pull/2982) Disable `modifier-name-case` rule for gjs/gts ([@​chancancode](https://togithub.com/chancancode)) ##### :memo: Documentation - [#​2967](https://togithub.com/ember-template-lint/ember-template-lint/pull/2967) Update example markup for consistency and errors ([@​chrisrng](https://togithub.com/chrisrng)) ##### Committers: 4 - Bert De Block ([@​bertdeblock](https://togithub.com/bertdeblock)) - Chris Ng ([@​chrisrng](https://togithub.com/chrisrng)) - Godfrey Chan ([@​chancancode](https://togithub.com/chancancode)) - Joao Da Silva Marly ([@​JoaoDsv](https://togithub.com/JoaoDsv)) ### [`v5.11.2`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v5112-2023-08-12) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v5.11.1...v5.11.2) ##### :bug: Bug Fix - [#​2954](https://togithub.com/ember-template-lint/ember-template-lint/pull/2954) Don't require redundant role for `` in `require-valid-alt-text` rule ([@​HeroicEric](https://togithub.com/HeroicEric)) - [#​2955](https://togithub.com/ember-template-lint/ember-template-lint/pull/2955) Update [@​lint-todo/utils](https://togithub.com/lint-todo/utils) to 3.1.1 ([@​Techn1x](https://togithub.com/Techn1x)) ##### Committers: 2 - Brad Overton ([@​Techn1x](https://togithub.com/Techn1x)) - Eric Kelly ([@​HeroicEric](https://togithub.com/HeroicEric)) ### [`v5.11.1`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v5111-2023-07-19) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v5.11.0...v5.11.1) ##### :bug: Bug Fix - [#​2940](https://togithub.com/ember-template-lint/ember-template-lint/pull/2940) Fixes location reporting in `simple-unless` rule ([@​judithhinlung](https://togithub.com/judithhinlung)) ##### Committers: 1 - Judith Lung ([@​judithhinlung](https://togithub.com/judithhinlung)) ### [`v5.11.0`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v5110-2023-06-27) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v5.10.3...v5.11.0) ##### :rocket: Enhancement - [#​2554](https://togithub.com/ember-template-lint/ember-template-lint/pull/2554) Add new rule `no-at-ember-render-modifiers` ([@​NullVoxPopuli](https://togithub.com/NullVoxPopuli)) ##### Committers: 1 - [@​NullVoxPopuli](https://togithub.com/NullVoxPopuli) ### [`v5.10.3`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v5103-2023-06-17) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v5.10.2...v5.10.3) ##### :bug: Bug Fix - [#​2917](https://togithub.com/ember-template-lint/ember-template-lint/pull/2917) Fix crash in `no-unsupported-role-attributes` rule ([@​jaswilli](https://togithub.com/jaswilli)) ##### Committers: 1 - Jason Williams ([@​jaswilli](https://togithub.com/jaswilli)) ### [`v5.10.2`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v5102-2023-06-16) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v5.10.1...v5.10.2) ##### :bug: Bug Fix - [#​2914](https://togithub.com/ember-template-lint/ember-template-lint/pull/2914) Fix `aria-query` related crash in `no-unsupported-role-attributes` rule ([@​bmish](https://togithub.com/bmish)) - [#​2907](https://togithub.com/ember-template-lint/ember-template-lint/pull/2907) Fix location reporting in `block-indentation` rule ([@​judithhinlung](https://togithub.com/judithhinlung)) ##### :house: Internal - [#​2915](https://togithub.com/ember-template-lint/ember-template-lint/pull/2915) Update incorrect tests ([@​ef4](https://togithub.com/ef4)) ##### Committers: 3 - Bryan Mishkin ([@​bmish](https://togithub.com/bmish)) - Edward Faulkner ([@​ef4](https://togithub.com/ef4)) - Judith Lung ([@​judithhinlung](https://togithub.com/judithhinlung)) ### [`v5.10.1`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v5101-2023-06-07) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v5.10.0...v5.10.1) ##### :bug: Bug Fix - [#​2907](https://togithub.com/ember-template-lint/ember-template-lint/pull/2907) Fix location reporting in `block-indentation` rule ([@​judithhinlung](https://togithub.com/judithhinlung)) ##### Committers: 3 - Judith Lung ([@​judithhinlung](https://togithub.com/judithhinlung)) ### [`v5.10.0`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v5100-2023-05-25) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v5.9.0...v5.10.0) ##### :rocket: Enhancement - [#​2895](https://togithub.com/ember-template-lint/ember-template-lint/pull/2895) Add autofixer to `no-unnecessary-curly-strings` rule ([@​lin-ll](https://togithub.com/lin-ll)) - [#​2894](https://togithub.com/ember-template-lint/ember-template-lint/pull/2894) Add autofixer to `no-trailing-spaces` rule ([@​lin-ll](https://togithub.com/lin-ll)) ##### Committers: 1 - Lucy Lin ([@​lin-ll](https://togithub.com/lin-ll)) ### [`v5.9.0`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v590-2023-05-24) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v5.8.0...v5.9.0) ##### :rocket: Enhancement - [#​2754](https://togithub.com/ember-template-lint/ember-template-lint/pull/2754) Add options for different `html` / `hbs` quote styles in `quotes` rule ([@​robclancy](https://togithub.com/robclancy)) ##### Committers: 1 - Robert Clancy (Robbo) ([@​robclancy](https://togithub.com/robclancy)) ### [`v5.8.0`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v580-2023-05-23) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v5.7.3...v5.8.0) ##### :rocket: Enhancement - [#​2887](https://togithub.com/ember-template-lint/ember-template-lint/pull/2887) Add new rule `simple-modifiers` ([@​rmonzon](https://togithub.com/rmonzon)) ##### :bug: Bug Fix - [#​2891](https://togithub.com/ember-template-lint/ember-template-lint/pull/2891) Fix override for gjs files in `recommended` config ([@​NullVoxPopuli](https://togithub.com/NullVoxPopuli)) ##### Committers: 2 - Raul Rivero ([@​rmonzon](https://togithub.com/rmonzon)) - [@​NullVoxPopuli](https://togithub.com/NullVoxPopuli) ### [`v5.7.3`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v573-2023-04-28) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v5.7.2...v5.7.3) ##### :bug: Bug Fix - [#​2339](https://togithub.com/ember-template-lint/ember-template-lint/pull/2339) Convert path to URL before import of config/plugin for Windows support ([@​lifeart](https://togithub.com/lifeart)) ##### Committers: 1 - Alex Kanunnikov ([@​lifeart](https://togithub.com/lifeart)) ### [`v5.7.2`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v572-2023-03-28) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v5.7.1...v5.7.2) ##### :bug: Bug Fix - [#​2853](https://togithub.com/ember-template-lint/ember-template-lint/pull/2853) Bump `ember-template-recast` to v6.1.4 ([@​bertdeblock](https://togithub.com/bertdeblock)) ##### Committers: 1 - Bert De Block ([@​bertdeblock](https://togithub.com/bertdeblock)) ### [`v5.7.1`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v571-2023-03-16) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v5.7.0...v5.7.1) ##### :bug: Bug Fix - [#​2846](https://togithub.com/ember-template-lint/ember-template-lint/pull/2846) Disable embedded templates handling for `eol-last` rule ([@​robinborst95](https://togithub.com/robinborst95)) - [#​2844](https://togithub.com/ember-template-lint/ember-template-lint/pull/2844) Disable `no-curly-component-invocation` and `no-implicit-this` rules for `gjs` / `gts` files ([@​NullVoxPopuli](https://togithub.com/NullVoxPopuli)) ##### Committers: 2 - NullVoxPopuli ([@​NullVoxPopuli](https://togithub.com/NullVoxPopuli) - Robin Borst ([@​robinborst95](https://togithub.com/robinborst95)) ### [`v5.7.0`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v570-2023-03-15) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v5.6.0...v5.7.0) ##### :bug: Bug Fix - [#​2843](https://togithub.com/ember-template-lint/ember-template-lint/pull/2843) Avoid crash with dynamic `aria-label` in `no-invalid-link-text` rule ([@​StephanH90](https://togithub.com/StephanH90)) - [#​2838](https://togithub.com/ember-template-lint/ember-template-lint/pull/2838) Fix embedded templates handling in `block-indentation` rule ([@​robinborst95](https://togithub.com/robinborst95)) - [#​2833](https://togithub.com/ember-template-lint/ember-template-lint/pull/2833) Fix incorrect violation with embedded templates in `no-trailing-spaces` rule ([@​robinborst95](https://togithub.com/robinborst95)) - [#​2845](https://togithub.com/ember-template-lint/ember-template-lint/pull/2845) Recognize imports from `@glimmerx/component` ([@​tstewart15](https://togithub.com/tstewart15)) ##### Committers: 3 - Robin Borst ([@​robinborst95](https://togithub.com/robinborst95)) - Tom Stewart ([@​tstewart15](https://togithub.com/tstewart15)) - [@​StephanH90](https://togithub.com/StephanH90) ### [`v5.6.0`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v560-2023-02-24) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v5.5.1...v5.6.0) ##### :rocket: Enhancement - [#​2818](https://togithub.com/ember-template-lint/ember-template-lint/pull/2818) Add `additionalNonSemanticTags` option to `require-presentational-children` rule ([@​Techn1x](https://togithub.com/Techn1x)) ##### :bug: Bug Fix - [#​2819](https://togithub.com/ember-template-lint/ember-template-lint/pull/2819) Allow intermediate presentation role before context in `require-context-role` rule ([@​Techn1x](https://togithub.com/Techn1x)) - [#​2820](https://togithub.com/ember-template-lint/ember-template-lint/pull/2820) Allow presentation role for `li` in `no-invalid-role` rule ([@​Techn1x](https://togithub.com/Techn1x)) ##### Committers: 1 - Brad Overton ([@​Techn1x](https://togithub.com/Techn1x)) ### [`v5.5.1`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v551-2023-02-10) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v5.5.0...v5.5.1) ##### :bug: Bug Fix - [#​2802](https://togithub.com/ember-template-lint/ember-template-lint/pull/2802) Rename `no-unnecessary-curly-literals` rule to `no-unnecessary-curly-strings` ([@​bmish](https://togithub.com/bmish)) ##### Committers: 1 - Bryan Mishkin ([@​bmish](https://togithub.com/bmish)) ### [`v5.5.0`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v550-2023-02-08) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v5.4.0...v5.5.0) ##### :rocket: Enhancement - [#​2794](https://togithub.com/ember-template-lint/ember-template-lint/pull/2794) Add new rule `no-unnecessary-curly-literals` ([@​Shivareddy-Aluri](https://togithub.com/Shivareddy-Aluri)) ##### Committers: 1 - Shivareddy-Aluri ([@​Shivareddy-Aluri](https://togithub.com/Shivareddy-Aluri)) ### [`v5.4.0`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v540-2023-02-08) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v5.3.3...v5.4.0) ##### :rocket: Enhancement - [#​2792](https://togithub.com/ember-template-lint/ember-template-lint/pull/2792) Add new rule `no-unnecessary-curly-parens` ([@​raycohen](https://togithub.com/raycohen)) ##### Committers: 1 - Ray Cohen ([@​raycohen](https://togithub.com/raycohen)) ### [`v5.3.3`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v533-2023-01-27) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v5.3.2...v5.3.3) ##### :bug: Bug Fix - [#​2780](https://togithub.com/ember-template-lint/ember-template-lint/pull/2780) Ignore `{{(unique-id)}}` helper variation in `no-duplicate-id` rule ([@​lifeart](https://togithub.com/lifeart)) ##### Committers: 1 - Alex Kanunnikov ([@​lifeart](https://togithub.com/lifeart)) ### [`v5.3.2`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v532-2023-01-22) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v5.3.1...v5.3.2) ##### :bug: Bug Fix - [#​2778](https://togithub.com/ember-template-lint/ember-template-lint/pull/2778) Ignore `unique-id` helper in `no-duplicate-id` rule ([@​lifeart](https://togithub.com/lifeart)) ##### Committers: 1 - Alex Kanunnikov ([@​lifeart](https://togithub.com/lifeart)) ### [`v5.3.1`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v531-2023-01-06) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v5.3.0...v5.3.1) ##### :bug: Bug Fix - [#​2765](https://togithub.com/ember-template-lint/ember-template-lint/pull/2765) Throw the more-helpful, original exception when encountering an ESM plugin/config loading error ([@​jsturgis](https://togithub.com/jsturgis)) ##### :memo: Documentation - [#​2760](https://togithub.com/ember-template-lint/ember-template-lint/pull/2760) Document how to write rule test cases for fatal errors ([@​bmish](https://togithub.com/bmish)) - [#​2759](https://togithub.com/ember-template-lint/ember-template-lint/pull/2759) Improve snapshot test documentation ([@​bmish](https://togithub.com/bmish)) ##### :house: Internal - [#​2761](https://togithub.com/ember-template-lint/ember-template-lint/pull/2761) Add Node v19 to CI ([@​ddzz](https://togithub.com/ddzz)) ##### Committers: 3 - Bryan Mishkin ([@​bmish](https://togithub.com/bmish)) - Darius Dzien ([@​ddzz](https://togithub.com/ddzz)) - Jeff Sturgis ([@​jsturgis](https://togithub.com/jsturgis)) ### [`v5.3.0`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v530-2022-12-14) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v5.2.0...v5.3.0) ##### :rocket: Enhancement - [#​2746](https://togithub.com/ember-template-lint/ember-template-lint/pull/2746) Add autofixer to `no-multiple-empty-lines` rule ([@​Shivareddy-Aluri](https://togithub.com/Shivareddy-Aluri)) ##### Committers: 1 - Shivareddy-Aluri ([@​Shivareddy-Aluri](https://togithub.com/Shivareddy-Aluri)) ### [`v5.2.0`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v520-2022-12-07) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v5.1.1...v5.2.0) ##### :rocket: Enhancement - [#​2591](https://togithub.com/ember-template-lint/ember-template-lint/pull/2591) Add formatter for Kakoune editor ([@​velrest](https://togithub.com/velrest)) ##### :bug: Bug Fix - [#​2725](https://togithub.com/ember-template-lint/ember-template-lint/pull/2725) Fix `--no-ignore-pattern` ([@​velrest](https://togithub.com/velrest)) ##### Committers: 1 - Jonas Cosandey ([@​velrest](https://togithub.com/velrest)) ### [`v5.1.1`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v511-2022-12-05) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v5.1.0...v5.1.1) ##### :bug: Bug Fix - [#​2731](https://togithub.com/ember-template-lint/ember-template-lint/pull/2731) Allow nested `menuitem`s in `no-nested-interactive` rule ([@​geneukum](https://togithub.com/geneukum)) ##### :memo: Documentation - [#​2732](https://togithub.com/ember-template-lint/ember-template-lint/pull/2732) Link to "skipping helpers" part of the codemod doc in `no-curly-component-invocation` rule doc ([@​geneukum](https://togithub.com/geneukum)) ##### Committers: 1 - Geordan Neukum ([@​geneukum](https://togithub.com/geneukum)) ### [`v5.1.0`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v510-2022-12-04) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v5.0.2...v5.1.0) ##### :rocket: Enhancement - [#​2730](https://togithub.com/ember-template-lint/ember-template-lint/pull/2730) Add autofixer to `no-duplicate-attributes` rule ([@​Shivareddy-Aluri](https://togithub.com/Shivareddy-Aluri)) ##### :bug: Bug Fix - [#​2726](https://togithub.com/ember-template-lint/ember-template-lint/pull/2726) Allow passing only `@model` or `@models` for `` in `no-unknown-arguments-for-builtin-components` rule ([@​geneukum](https://togithub.com/geneukum)) ##### :memo: Documentation - [#​2727](https://togithub.com/ember-template-lint/ember-template-lint/pull/2727) Add note about `title` property limitations to `require-valid-alt-text` rule doc ([@​geneukum](https://togithub.com/geneukum)) ##### Committers: 2 - Geordan Neukum ([@​geneukum](https://togithub.com/geneukum)) - Shivareddy-Aluri ([@​Shivareddy-Aluri](https://togithub.com/Shivareddy-Aluri)) ### [`v5.0.2`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v502-2022-11-28) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v5.0.1...v5.0.2) ##### :bug: Bug Fix - [#​2722](https://togithub.com/ember-template-lint/ember-template-lint/pull/2722) Fix autofixer bug with `firstObject` inside a `MustacheStatement` in `no-array-prototype-extensions` rule ([@​tgvrssanthosh](https://togithub.com/tgvrssanthosh)) ##### Committers: 1 - Santhosh Venkata Rama Siva Thanakala Gani ([@​tgvrssanthosh](https://togithub.com/tgvrssanthosh)) ### [`v5.0.1`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v501-2022-11-21) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v5.0.0...v5.0.1) ##### :bug: Bug Fix - [#​2714](https://togithub.com/ember-template-lint/ember-template-lint/pull/2714) Allow `role=list` on `
    ` and `
      ` in `no-redundant-role` rule ([@​Turbo87](https://togithub.com/Turbo87)) ##### Committers: 1 - Tobias Bieniek ([@​Turbo87](https://togithub.com/Turbo87)) ### [`v5.0.0`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v500-2022-11-19) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v4.18.2...v5.0.0) ##### :boom: Breaking Change - [#​2669](https://togithub.com/ember-template-lint/ember-template-lint/pull/2669) Drop Node 12 and 17 support ([@​bmish](https://togithub.com/bmish)) - [#​2606](https://togithub.com/ember-template-lint/ember-template-lint/pull/2606) Lint embedded templates by default ([@​NullVoxPopuli](https://togithub.com/NullVoxPopuli)) - [#​2671](https://togithub.com/ember-template-lint/ember-template-lint/pull/2671) Enabled additional `recommended` rules `no-aria-unsupported-elements`, `no-array-prototype-extensions`, `no-invalid-aria-attributes`, `no-obscure-array-access`, `no-scope-outside-table-headings`, `no-unsupported-role-attributes`, `require-aria-activedescendant-tabindex`, `require-mandatory-role-attributes`, `require-media-caption` ([@​bmish](https://togithub.com/bmish)) - [#​2675](https://togithub.com/ember-template-lint/ember-template-lint/pull/2675) Rename `no-redundant-landmark-role` rule to `no-redundant-role` and change `checkAllHTMLElements` option default to `true` ([@​bmish](https://togithub.com/bmish)) - [#​2054](https://togithub.com/ember-template-lint/ember-template-lint/pull/2054) Rename and narrow rule `no-down-event-binding` to `no-pointer-down-event-binding` ([@​jfdnc](https://togithub.com/jfdnc)) - [#​2674](https://togithub.com/ember-template-lint/ember-template-lint/pull/2674) Change `validateValues` option default to `true` in `require-lang-attribute` rule ([@​bmish](https://togithub.com/bmish)) - [#​2673](https://togithub.com/ember-template-lint/ember-template-lint/pull/2673) Change `simplifyHelpers` option default to `true` in `no-negated-condition` rule ([@​bmish](https://togithub.com/bmish)) - [#​2672](https://togithub.com/ember-template-lint/ember-template-lint/pull/2672) Change `maxHelpers` option default to `1` in `simple-unless` rule ([@​bmish](https://togithub.com/bmish)) - [#​2657](https://togithub.com/ember-template-lint/ember-template-lint/pull/2657) Include modifiers in `no-restricted-invocations` rule ([@​achambers](https://togithub.com/achambers)) ##### Committers: 4 - Aaron Chambers ([@​achambers](https://togithub.com/achambers)) - Bryan Mishkin ([@​bmish](https://togithub.com/bmish)) - Jacob ([@​jfdnc](https://togithub.com/jfdnc)) - [@​NullVoxPopuli](https://togithub.com/NullVoxPopuli) ### [`v4.18.2`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v4182-2022-11-17) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v4.18.1...v4.18.2) ##### :bug: Bug Fix - [#​2696](https://togithub.com/ember-template-lint/ember-template-lint/pull/2696) Ensure `--fix` works properly for `.gjs`/`.gts` files ([@​rwjblue](https://togithub.com/rwjblue)) ##### Committers: 1 - Robert Jackson ([@​rwjblue](https://togithub.com/rwjblue)) ### [`v4.18.1`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v4181-2022-11-15) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v4.18.0...v4.18.1) ##### :bug: Bug Fix - [#​2701](https://togithub.com/ember-template-lint/ember-template-lint/pull/2701) Fix autofixer for value-less attributes and comment order in `attribute-order` rule ([@​rob-long](https://togithub.com/rob-long)) ##### :memo: Documentation - [#​2694](https://togithub.com/ember-template-lint/ember-template-lint/pull/2694) Use `npx` in stale todo command suggestion ([@​bertdeblock](https://togithub.com/bertdeblock)) ##### :house: Internal - [#​2698](https://togithub.com/ember-template-lint/ember-template-lint/pull/2698) Add CodeQL ([@​bmish](https://togithub.com/bmish)) - [#​2658](https://togithub.com/ember-template-lint/ember-template-lint/pull/2658) Utilize new contents data from ember-template-imports ([@​gabrielcsapo](https://togithub.com/gabrielcsapo)) ##### Committers: 4 - Bert De Block ([@​bertdeblock](https://togithub.com/bertdeblock)) - Bryan Mishkin ([@​bmish](https://togithub.com/bmish)) - Gabriel Csapo ([@​gabrielcsapo](https://togithub.com/gabrielcsapo)) - Rob Long ([@​rob-long](https://togithub.com/rob-long)) ### [`v4.18.0`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v4180-2022-11-08) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v4.17.0...v4.18.0) Related note: The first v5 preview release is available for testing: [v5.0.0-alpha.0](https://togithub.com/ember-template-lint/ember-template-lint/releases/tag/v5.0.0-alpha.0). ##### :rocket: Enhancement - [#​2575](https://togithub.com/ember-template-lint/ember-template-lint/pull/2575) Add new rule `attribute-order` ([@​rob-long](https://togithub.com/rob-long)) ##### Committers: 1 - Rob Long ([@​rob-long](https://togithub.com/rob-long)) ### [`v4.17.0`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v4170-2022-10-29) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v4.16.1...v4.17.0) ##### :rocket: Enhancement - [#​2653](https://togithub.com/ember-template-lint/ember-template-lint/pull/2653) Add `simplifyHelpers` option in `no-negated-condition` rule ([@​godric3](https://togithub.com/godric3)) ##### :house: Internal - [#​2661](https://togithub.com/ember-template-lint/ember-template-lint/pull/2661) Remove usage of `cross-env` ([@​rwjblue](https://togithub.com/rwjblue)) - [#​2659](https://togithub.com/ember-template-lint/ember-template-lint/pull/2659) Remove eslint-plugin-import-helpers ([@​rwjblue](https://togithub.com/rwjblue)) ##### Committers: 3 - Andrzej Żak ([@​godric3](https://togithub.com/godric3)) - Bryan Mishkin ([@​bmish](https://togithub.com/bmish)) - Robert Jackson ([@​rwjblue](https://togithub.com/rwjblue)) ### [`v4.16.1`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v4161-2022-10-18) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v4.16.0...v4.16.1) ##### :bug: Bug Fix - [#​2648](https://togithub.com/ember-template-lint/ember-template-lint/pull/2648) Allow negation with multiple parameters in `no-negated-condition` rule ([@​godric3](https://togithub.com/godric3)) ##### Committers: 1 - Andrzej Żak ([@​godric3](https://togithub.com/godric3)) ### [`v4.16.0`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v4160-2022-10-18) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v4.15.0...v4.16.0) ##### :rocket: Enhancement - [#​2639](https://togithub.com/ember-template-lint/ember-template-lint/pull/2639) Add autofix for case with helpers to `simple-unless` rule ([@​godric3](https://togithub.com/godric3)) ##### :memo: Documentation - [#​2643](https://togithub.com/ember-template-lint/ember-template-lint/pull/2643) Clarify default `maxHelpers` option value for `simple-unless` rule ([@​bmish](https://togithub.com/bmish)) - [#​2636](https://togithub.com/ember-template-lint/ember-template-lint/pull/2636) Add link to RFC for `no-array-prototype-extensions` rule ([@​bmish](https://togithub.com/bmish)) ##### :house: Internal - [#​2638](https://togithub.com/ember-template-lint/ember-template-lint/pull/2638) Bump volta-cli/action@v4 ([@​ctjhoa](https://togithub.com/ctjhoa)) ##### Committers: 3 - Andrzej Żak ([@​godric3](https://togithub.com/godric3)) - Bryan Mishkin ([@​bmish](https://togithub.com/bmish)) - Camille TJHOA ([@​ctjhoa](https://togithub.com/ctjhoa)) ### [`v4.15.0`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v4150-2022-10-10) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v4.14.0...v4.15.0) ##### :rocket: Enhancement - [#​2629](https://togithub.com/ember-template-lint/ember-template-lint/pull/2629) Add autofixer to `simple-unless` rule for simplest case ([@​godric3](https://togithub.com/godric3)) ##### :house: Internal - [#​2607](https://togithub.com/ember-template-lint/ember-template-lint/pull/2607) Add eslint-plugin-jest ([@​bmish](https://togithub.com/bmish)) ##### Committers: 2 - Andrzej Żak ([@​godric3](https://togithub.com/godric3)) - Bryan Mishkin ([@​bmish](https://togithub.com/bmish)) ### [`v4.14.0`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v4140-2022-09-01) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v4.13.0...v4.14.0) ##### :rocket: Enhancement - [#​2483](https://togithub.com/ember-template-lint/ember-template-lint/pull/2483) Implement support for embedded templates ([@​ventuno](https://togithub.com/ventuno)) ##### :bug: Bug Fix - [#​2604](https://togithub.com/ember-template-lint/ember-template-lint/pull/2604) Fix `--version` to actually give the right value ([@​rwjblue](https://togithub.com/rwjblue)) ##### :house: Internal - [#​2605](https://togithub.com/ember-template-lint/ember-template-lint/pull/2605) Add `concurrency` setup to GitHub Actions workflow ([@​rwjblue](https://togithub.com/rwjblue)) - [#​2602](https://togithub.com/ember-template-lint/ember-template-lint/pull/2602) Update GitHub Actions setup to volta-cli/action@v3 ([@​rwjblue](https://togithub.com/rwjblue)) ##### Committers: 2 - Robert Jackson ([@​rwjblue](https://togithub.com/rwjblue)) - [@​ventuno](https://togithub.com/ventuno) ### [`v4.13.0`](https://togithub.com/ember-template-lint/ember-template-lint/blob/HEAD/CHANGELOG.md#v4130-2022-08-30) [Compare Source](https://togithub.com/ember-template-lint/ember-template-lint/compare/v4.12.0...v4.13.0) ##### :rocket: Enhancement - [#​2583](https://togithub.com/ember-template-lint/ember-template-lint/pull/2583) Add autofixer to `self-closing-void-elements` rule ([@​locks](https://togithub.com/locks)) - [#​2581](https://togithub.com/ember-template-lint/ember-template-lint/pull/2581) Add autofixer to `no-html-comments` rule ([@​locks](https://togithub.com/locks)) - [#​2582](https://togithub.com/ember-template-lint/ember-template-lint/pull/2582) Add autofixer to `no-quoteless-attributes` rule ([@​locks](https://togithub.com/locks)) ##### :bug: Bug Fix - [#​2589](https://togithub.com/ember-template-lint/ember-template-lint/pull/2589) Remove `` and `` from `no-obsolete-elements` ([@​sukima](https://togithub.com/sukima)) - [#​2593](https://togithub.com/ember-template-lint/ember-template-lint/pull/2593) Add `unique-id` to allowed built-in helpers in `no-curly-component-invocation` and `no-implicit-this` rules ([@​geneukum](https://togithub.com/geneukum)) ##### :house: Internal - [#​2598](https://togithub.com/ember-template-lint/ember-template-lint/pull/2598) Limit permissions for CI workflow ([@​sashashura](https://togithub.com/sashashura)) - [#​2434](https://togithub.com/ember-template-lint/ember-template-lint/pull/2434) Extract `hasParentTag` utility function ([@​JoaoDsv](https://togithub.com/JoaoDsv)) ##### Committers: 5 - Alex ([@​sashashura](https://togithub.com/sashashura)) - Devin Weaver ([@​sukima](https://togithub.com/sukima)) - Geordan Neukum ([@​geneukum](https://togithub.com/geneukum)) - Joao Da Silva Marly ([@​JoaoDsv](https://togithub.com/JoaoDsv)) - Ricardo Mendes ([@​locks](https://togithub.com/locks))
prettier/eslint-config-prettier (eslint-config-prettier) ### [`v9.1.0`](https://togithub.com/prettier/eslint-config-prettier/blob/HEAD/CHANGELOG.md#Version-910-2023-12-02) [Compare Source](https://togithub.com/prettier/eslint-config-prettier/compare/v9.0.0...v9.1.0) - Added: \[unicorn/template-indent], (as a \[special rule]\[unicorn/template-indent-special]). Thanks to Gürgün Dayıoğlu ([@​gurgunday](https://togithub.com/gurgunday))! - Changed: All the \[formatting rules that were deprecated in ESLint 8.53.0]\[deprecated-8.53.0] are now excluded if you set the `ESLINT_CONFIG_PRETTIER_NO_DEPRECATED` environment variable. ### [`v9.0.0`](https://togithub.com/prettier/eslint-config-prettier/blob/HEAD/CHANGELOG.md#Version-900-2023-08-05) [Compare Source](https://togithub.com/prettier/eslint-config-prettier/compare/v8.10.0...v9.0.0) - Added: The CLI helper tool now works with eslint.config.js (flat config). Just like ESLint itself, the CLI tool automatically first tries eslint.config.js and then eslintrc, and you can force which one to use by setting the \[ESLINT_USE_FLAT_CONFIG] environment variable. Note that the *config* of eslint-config-prettier has always been compatible with eslint.config.js (flat config) – it was just the CLI tool that needed updating. On top of that, the docs have been updated to mention how to use both eslint.config.js (flat config) and eslintrc, and the tests now test both config systems. - Changed: \[unicode-bom] is no longer turned off. Prettier preserves the BOM if you have one, and does not add one if missing. It was wrong of eslint-config-prettier to disable that rule. If you get ESLint errors after upgrading, either add `"unicode-bom": "off"` to your config to disable it again, or run ESLint with `--fix` to fix all files according to the rule (add or remove BOM). Thanks to Nicolas Stepien ([@​nstepien](https://togithub.com/nstepien))!
prettier/eslint-plugin-prettier (eslint-plugin-prettier) ### [`v5.0.1`](https://togithub.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#501) [Compare Source](https://togithub.com/prettier/eslint-plugin-prettier/compare/v5.0.0...v5.0.1) ##### Patch Changes - [#​588](https://togithub.com/prettier/eslint-plugin-prettier/pull/588) [`21a7146`](https://togithub.com/prettier/eslint-plugin-prettier/commit/21a7146d78161307dcc7eaa96f41dac51f7ce89f) Thanks [@​krist7599555](https://togithub.com/krist7599555)! - fix: `parserPath` type might be `undefined` on Eslint Falt Config ### [`v5.0.0`](https://togithub.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#500) [Compare Source](https://togithub.com/prettier/eslint-plugin-prettier/compare/v4.2.1...v5.0.0) ##### Major Changes - [#​508](https://togithub.com/prettier/eslint-plugin-prettier/pull/508) [`910aeb6`](https://togithub.com/prettier/eslint-plugin-prettier/commit/910aeb60a7456beb6193c634bb8dec1b7181312d) Thanks [@​JounQin](https://togithub.com/JounQin)! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0" - [#​508](https://togithub.com/prettier/eslint-plugin-prettier/pull/508) [`910aeb6`](https://togithub.com/prettier/eslint-plugin-prettier/commit/910aeb60a7456beb6193c634bb8dec1b7181312d) Thanks [@​JounQin](https://togithub.com/JounQin)! - feat!: upgrade to prettier v3 ##### Minor Changes - [#​508](https://togithub.com/prettier/eslint-plugin-prettier/pull/508) [`910aeb6`](https://togithub.com/prettier/eslint-plugin-prettier/commit/910aeb60a7456beb6193c634bb8dec1b7181312d) Thanks [@​JounQin](https://togithub.com/JounQin)! - feat: add typings support ##### Patch Changes - [#​548](https://togithub.com/prettier/eslint-plugin-prettier/pull/548) [`82a3db8`](https://togithub.com/prettier/eslint-plugin-prettier/commit/82a3db878baf1a8f8ef53393069fe23c3a80ce15) Thanks [@​fisker](https://togithub.com/fisker)! - fix: add missing dependency `synckit` - [#​564](https://togithub.com/prettier/eslint-plugin-prettier/pull/564) [`ae7a73c`](https://togithub.com/prettier/eslint-plugin-prettier/commit/ae7a73c6c4b306c617c5dd9baaaa2ae7c0f9f44b) Thanks [@​auvred](https://togithub.com/auvred)! - fix: compatibility with prettier@3 without plugins
prettier/prettier (prettier) ### [`v3.1.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#310) [Compare Source](https://togithub.com/prettier/prettier/compare/3.0.3...3.1.0) [diff](https://togithub.com/prettier/prettier/compare/3.0.3...3.1.0) 🔗 [Release Notes](https://prettier.io/blog/2023/11/13/3.1.0.html) ### [`v3.0.3`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#303) [Compare Source](https://togithub.com/prettier/prettier/compare/3.0.2...3.0.3) [diff](https://togithub.com/prettier/prettier/compare/3.0.2...3.0.3) ##### Add `preferUnplugged: true` to `package.json` ([#​15169](https://togithub.com/prettier/prettier/pull/15169) by [@​fisker](https://togithub.com/fisker) and [@​so1ve](https://togithub.com/so1ve)) Prettier v3 uses dynamic imports, user [will need to unplug Prettier](https://togithub.com/yarnpkg/berry/pull/5411#issuecomment-1523502224) when Yarn's PnP mode is enabled, add [`preferUnplugged: true`](https://yarnpkg.com/configuration/manifest#preferUnplugged) to `package.json`, so Yarn will install Prettier as unplug by default. ##### Support shared config that forbids `require()` ([#​15233](https://togithub.com/prettier/prettier/pull/15233) by [@​fisker](https://togithub.com/fisker)) If an external shared config package is used, and the package `exports` don't have `require` or `default` export. In Prettier 3.0.2 Prettier fails when attempt to `require()` the package, and throws an error. ```text Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /package.json ``` ##### Allow argument of `require()` to break ([#​15256](https://togithub.com/prettier/prettier/pull/15256) by [@​fisker](https://togithub.com/fisker)) ```jsx // Input const plugin = require( global.STANDALONE ? path.join(__dirname, "../standalone.js") : path.join(__dirname, "..") ); // Prettier 3.0.2 const plugin = require(global.STANDALONE ? path.join(__dirname, "../standalone.js") : path.join(__dirname, "..")); // Prettier 3.0.3 const plugin = require( global.STANDALONE ? path.join(__dirname, "../standalone.js") : path.join(__dirname, "..") ); ``` ##### Do not print trailing commas in arrow function type parameter lists in `ts` code blocks ([#​15286](https://togithub.com/prettier/prettier/pull/15286) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) ````md ```ts const foo = () => {} ``` ```ts const foo = () => {} ``` ```ts const foo = () => {} ``` ```` ##### Support TypeScript 5.2 `using` / `await using` declaration ([#​15321](https://togithub.com/prettier/prettier/pull/15321) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) Support for the upcoming Explicit Resource Management feature in ECMAScript. [`using` / `await using` declaration](https://devblogs.microsoft.com/typescript/announcing-typescript-5-2/#using-declarations-and-explicit-resource-management) ```tsx { using foo = new Foo(); await using bar = new Bar(); } ``` ### [`v3.0.2`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#302) [Compare Source](https://togithub.com/prettier/prettier/compare/3.0.1...3.0.2) [diff](https://togithub.com/prettier/prettier/compare/3.0.1...3.0.2) ##### Break after `=` of assignment if RHS is poorly breakable AwaitExpression or YieldExpression ([#​15204](https://togithub.com/prettier/prettier/pull/15204) by [@​seiyab](https://togithub.com/seiyab)) ```js // Input const { section, rubric, authors, tags } = await utils.upsertCommonData(mainData); // Prettier 3.0.1 const { section, rubric, authors, tags } = await utils.upsertCommonData( mainData, ); // Prettier 3.0.2 const { section, rubric, authors, tags } = await utils.upsertCommonData(mainData); ``` ##### Do not add trailing comma for grouped scss comments ([#​15217](https://togithub.com/prettier/prettier/pull/15217) by [@​auvred](https://togithub.com/auvred)) ```scss /* Input */ $foo: ( 'property': (), // comment 1 // comment 2 ) /* Prettier 3.0.1 */ $foo: ( "property": (), // comment 1 // comment 2, ); /* Prettier 3.0.2 */ $foo: ( "property": (), // comment 1 // comment 2 ); ``` ##### Print `declare` and `export` keywords for nested namespace ([#​15249](https://togithub.com/prettier/prettier/pull/15249) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) ```tsx // Input declare namespace abc1.def {} export namespace abc2.def {} // Prettier 3.0.1 namespace abc1.def {} namespace abc2.def {} // Prettier 3.0.2 declare namespace abc1.def {} export namespace abc2.def {} ``` ### [`v3.0.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#301) [Compare Source](https://togithub.com/prettier/prettier/compare/3.0.0...3.0.1) [diff](https://togithub.com/prettier/prettier/compare/3.0.0...3.0.1) ##### Fix cursor positioning for a special case ([#​14812](https://togithub.com/prettier/prettier/pull/14812) by [@​fisker](https://togithub.com/fisker)) ```js // <|> is the cursor position /* Input */ // All messages are represented in JSON. // So, the prettier.py controls a subprocess which spawns "node {this_file}". import {<|> } from "fs" /* Prettier 3.0.0 */ // All messages are represented in JSON. // So, the prettier.py <|>controls a subprocess which spawns "node {this_file}". import {} from "fs" /* Prettier 3.0.1 */ // All messages are represented in JSON. // So, the prettier.py controls a subprocess which spawns "node {this_file}". import {<|>} from "fs" ``` ##### Fix plugins/estree.d.ts to make it a module ([#​15018](https://togithub.com/prettier/prettier/pull/15018) by [@​kingyue737](https://togithub.com/kingyue737)) Add `export {}` in `plugins/estree.d.ts` to fix the "File is not a module" error ##### Add parenthesis around leading multiline comment in return statement ([#​15037](https://togithub.com/prettier/prettier/pull/15037) by [@​auvred](https://togithub.com/auvred)) ```jsx // Input function fn() { return ( /** * @​type {...} */ expresssion ) } // Prettier 3.0.0 function fn() { return /** * @​type {...} */ expresssion; } // Prettier 3.0.1 function fn() { return ( /** * @​type {...} */ expresssion ); } ``` ##### Add support for Vue "Generic Components" ([#​15066](https://togithub.com/prettier/prettier/pull/15066) by [@​auvred](https://togithub.com/auvred)) https://blog.vuejs.org/posts/vue-3-3#generic-components ```vue ``` ##### Fix comments print in `IfStatement` ([#​15076](https://togithub.com/prettier/prettier/pull/15076) by [@​fisker](https://togithub.com/fisker)) ```js function a(b) { if (b) return 1; // comment else return 2; } /* Prettier 3.0.0 */ Error: Comment "comment" was not printed. Please report this error! /* Prettier 3.0.1 */ function a(b) { if (b) return 1; // comment else return 2; } ``` ##### Add missing type definition for `printer.preprocess` ([#​15123](https://togithub.com/prettier/prettier/pull/15123) by [@​so1ve](https://togithub.com/so1ve)) ```diff export interface Printer { // ... + preprocess?: + | ((ast: T, options: ParserOptions) => T | Promise) + | undefined; } ``` ##### Add missing `getVisitorKeys` method type definition for `Printer` ([#​15125](https://togithub.com/prettier/prettier/pull/15125) by [@​auvred](https://togithub.com/auvred)) ```tsx const printer: Printer = { print: () => [], getVisitorKeys(node, nonTraversableKeys) { return ["body"]; }, }; ``` ##### Add typing to support `readonly` array properties of AST Node ([#​15127](https://togithub.com/prettier/prettier/pull/15127) by [@​auvred](https://togithub.com/auvred)) ```tsx // Input interface TestNode { readonlyArray: readonly string[]; } declare const path: AstPath; path.map(() => "", "readonlyArray"); // Prettier 3.0.0 interface TestNode { readonlyArray: readonly string[]; } declare const path: AstPath; path.map(() => "", "readonlyArray"); // ^ Argument of type '"readonlyArray"' is not assignable to parameter of type '"regularArray"'. ts(2345) // Prettier 3.0.1 interface TestNode { readonlyArray: readonly string[]; } declare const path: AstPath; path.map(() => "", "readonlyArray"); ``` ##### Add space before unary minus followed by a function call ([#​15129](https://togithub.com/prettier/prettier/pull/15129) by [@​pamelalozano](https://togithub.com/pamelalozano)) ```less // Input div { margin: - func(); } // Prettier 3.0.0 div { margin: -func(); } // Prettier 3.0.1 div { margin: - func(); } ``` ### [`v3.0.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#300) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.8...3.0.0) [diff](https://togithub.com/prettier/prettier/compare/3.0.0-alpha.6...3.0.0) 🔗 [Release Notes](https://prettier.io/blog/2023/07/05/3.0.0.html) ### [`v2.8.8`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#288) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.7...2.8.8) This version is a republished version of v2.8.7. A bad version was accidentally published and [it can't be unpublished](https://togithub.com/npm/cli/issues/1686), apologies for the churn. ### [`v2.8.7`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#287) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.6...2.8.7) [diff](https://togithub.com/prettier/prettier/compare/2.8.6...2.8.7) ##### Allow multiple decorators on same getter/setter ([#​14584](https://togithub.com/prettier/prettier/pull/14584) by [@​fisker](https://togithub.com/fisker)) ```ts // Input class A { @​decorator() get foo () {} @​decorator() set foo (value) {} } // Prettier 2.8.6 SyntaxError: Decorators cannot be applied to multiple get/set accessors of the same name. (5:3) 3 | get foo () {} 4 | > 5 | @​decorator() | ^^^^^^^^^^^^ 6 | set foo (value) {} 7 | } // Prettier 2.8.7 class A { @​decorator() get foo() {} @​decorator() set foo(value) {} } ``` ### [`v2.8.6`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#286) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.5...2.8.6) [diff](https://togithub.com/prettier/prettier/compare/2.8.5...2.8.6) ##### Allow decorators on private members and class expressions ([#​14548](https://togithub.com/prettier/prettier/pull/14548) by [@​fisker](https://togithub.com/fisker)) ```ts // Input class A { @​decorator() #privateMethod () {} } // Prettier 2.8.5 SyntaxError: Decorators are not valid here. (2:3) 1 | class A { > 2 | @​decorator() | ^^^^^^^^^^^^ 3 | #privateMethod () {} 4 | } // Prettier 2.8.6 class A { @​decorator() #privateMethod() {} } ``` ### [`v2.8.5`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#285) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.4...2.8.5) [diff](https://togithub.com/prettier/prettier/compare/2.8.4...2.8.5) ##### Support TypeScript 5.0 ([#​14391](https://togithub.com/prettier/prettier/pull/14391) by [@​fisker](https://togithub.com/fisker), [#​13819](https://togithub.com/prettier/prettier/pull/13819) by [@​fisker](https://togithub.com/fisker), [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) TypeScript 5.0 introduces two new syntactic features: - `const` modifiers for type parameters - `export type *` declarations ##### Add missing parentheses for decorator ([#​14393](https://togithub.com/prettier/prettier/pull/14393) by [@​fisker](https://togithub.com/fisker)) ```jsx // Input class Person { @​(myDecoratorArray[0]) greet() {} } // Prettier 2.8.4 class Person { @​myDecoratorArray[0] greet() {} } // Prettier 2.8.5 class Person { @​(myDecoratorArray[0]) greet() {} } ``` ##### Add parentheses for `TypeofTypeAnnotation` to improve readability ([#​14458](https://togithub.com/prettier/prettier/pull/14458) by [@​fisker](https://togithub.com/fisker)) ```tsx // Input type A = (typeof node.children)[]; // Prettier 2.8.4 type A = typeof node.children[]; // Prettier 2.8.5 type A = (typeof node.children)[]; ``` ##### Support `max_line_length=off` when parsing `.editorconfig` ([#​14516](https://togithub.com/prettier/prettier/pull/14516) by [@​josephfrazier](https://togithub.com/josephfrazier)) If an .editorconfig file is in your project and it sets `max_line_length=off` for the file you're formatting, it will be interpreted as a `printWidth` of `Infinity` rather than being ignored (which previously resulted in the default `printWidth` of 80 being applied, if not overridden by Prettier-specific configuration). ```html
;
; ``` ### [`v2.8.4`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#284) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.3...2.8.4) [diff](https://togithub.com/prettier/prettier/compare/2.8.3...2.8.4) ##### Fix leading comments in mapped types with `readonly` ([#​13427](https://togithub.com/prettier/prettier/pull/13427) by [@​thorn0](https://togithub.com/thorn0), [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) ```tsx // Input type Type = { // comment readonly [key in Foo]; }; // Prettier 2.8.3 type Type = { readonly // comment [key in Foo]; }; // Prettier 2.8.4 type Type = { // comment readonly [key in Foo]; }; ``` ##### Group params in opening block statements ([#​14067](https://togithub.com/prettier/prettier/pull/14067) by [@​jamescdavis](https://togithub.com/jamescdavis)) This is a follow-up to [#​13930](https://togithub.com/prettier/prettier/issues/13930) to establish wrapping consistency between opening block statements and else blocks by grouping params in opening blocks. This causes params to break to a new line together and not be split across lines unless the length of params exceeds the print width. This also updates the else block wrapping to behave exactly the same as opening blocks. ```hbs {{! Input }} {{#block param param param param param param param param param param as |blockParam|}} Hello {{else block param param param param param param param param param param as |blockParam|}} There {{/block}} {{! Prettier 2.8.3 }} {{#block param param param param param param param param param param as |blockParam| }} Hello {{else block param param param param param param param param param param}} There {{/block}} {{! Prettier 2.8.4 }} {{#block param param param param param param param param param param as |blockParam| }} Hello {{else block param param param param param param param param param param as |blockParam| }} There {{/block}} ``` ##### Ignore files in `.sl/` ([#​14206](https://togithub.com/prettier/prettier/pull/14206) by [@​bolinfest](https://togithub.com/bolinfest)) In [Sapling SCM](https://sapling-scm.com/), `.sl/` is the folder where it stores its state, analogous to `.git/` in Git. It should be ignored in Prettier like the other SCM folders. ##### Recognize `@satisfies` in Closure-style type casts ([#​14262](https://togithub.com/prettier/prettier/pull/14262) by [@​fisker](https://togithub.com/fisker)) ```jsx // Input const a = /** @​satisfies {Record} */ ({hello: 1337}); const b = /** @​type {Record} */ ({hello: 1337}); // Prettier 2.8.3 const a = /** @​satisfies {Record} */ { hello: 1337 }; const b = /** @​type {Record} */ ({ hello: 1337 }); // Prettier 2.8.4 const a = /** @​satisfies {Record} */ ({hello: 1337}); const b = /** @​type {Record} */ ({hello: 1337}); ``` ##### Fix parens in inferred function return types with `extends` ([#​14279](https://togithub.com/prettier/prettier/pull/14279) by [@​fisker](https://togithub.com/fisker)) ```ts // Input type Foo = T extends ((a) => a is infer R extends string) ? R : never; // Prettier 2.8.3 (First format) type Foo = T extends (a) => a is infer R extends string ? R : never; // Prettier 2.8.3 (Second format) SyntaxError: '?' expected. // Prettier 2.8.4 type Foo = T extends ((a) => a is infer R extends string) ? R : never; ``` ### [`v2.8.3`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#283) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.2...2.8.3) [diff](https://togithub.com/prettier/prettier/compare/2.8.2...2.8.3) ##### Allow self-closing tags on custom elements ([#​14170](https://tog

Configuration

📅 Schedule: Branch creation - "after 9pm on sunday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • [ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.