Closed renovate[bot] closed 1 year ago
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.
:tada: This issue has been resolved in version 0.5.0 :tada:
The release is available on:
v0.5.0
Your semantic-release bot :package::rocket:
This PR contains the following updates:
5.62.0
->6.3.0
5.62.0
->6.3.0
8.10.0
->9.0.0
4.2.1
->5.0.0
2.8.8
->3.0.1
Release Notes
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
### [`v6.3.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#630-2023-08-07) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.2.1...v6.3.0) ##### Bug Fixes - **eslint-plugin:** \[no-extra-parens] keep parens around call expression arguments when type arguments contain parens ([#7375](https://togithub.com/typescript-eslint/typescript-eslint/issues/7375)) ([38e5e4e](https://togithub.com/typescript-eslint/typescript-eslint/commit/38e5e4eb8624649a2b66e19a303383bebbda1e2e)) - **eslint-plugin:** \[no-restricted-imports] allow inline type qualifiers when `allowTypeImports` enabled ([#7379](https://togithub.com/typescript-eslint/typescript-eslint/issues/7379)) ([cc9a46d](https://togithub.com/typescript-eslint/typescript-eslint/commit/cc9a46d01bce4282ff841d5ccef5445984aff8f6)) ##### Features - **eslint-plugin:** \[prefer-nullish-coalescing] allow `ignorePrimitives` option to be `true` ([#7331](https://togithub.com/typescript-eslint/typescript-eslint/issues/7331)) ([dfcafae](https://togithub.com/typescript-eslint/typescript-eslint/commit/dfcafae515e7f4d1ae69387eb163200e455dd0ce)) ##### Reverts - Revert "chore(deps): update dependency marked to v6" ([#7429](https://togithub.com/typescript-eslint/typescript-eslint/issues/7429)) ([7891a06](https://togithub.com/typescript-eslint/typescript-eslint/commit/7891a06892445a30c90c882d7e2f17fdf9da5601)), closes [#7429](https://togithub.com/typescript-eslint/typescript-eslint/issues/7429) [#7422](https://togithub.com/typescript-eslint/typescript-eslint/issues/7422) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. #### [6.2.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.2.0...v6.2.1) (2023-07-31) ##### Bug Fixes - **eslint-plugin:** \[no-inferrable-types] apply also for parameter properties ([#7288](https://togithub.com/typescript-eslint/typescript-eslint/issues/7288)) ([67f93b1](https://togithub.com/typescript-eslint/typescript-eslint/commit/67f93b19f2e481a4e441635d72e81de9d5d7ad44)) - **scope-manager:** correct decorators(.length) check in ClassVisitor for methods ([#7334](https://togithub.com/typescript-eslint/typescript-eslint/issues/7334)) ([abbb6c2](https://togithub.com/typescript-eslint/typescript-eslint/commit/abbb6c2c6d2bc1f8d4defd2060dbc473735b2cc7)) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.2.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#621-2023-07-31) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.2.0...v6.2.1) ##### Bug Fixes - **eslint-plugin:** \[no-inferrable-types] apply also for parameter properties ([#7288](https://togithub.com/typescript-eslint/typescript-eslint/issues/7288)) ([67f93b1](https://togithub.com/typescript-eslint/typescript-eslint/commit/67f93b19f2e481a4e441635d72e81de9d5d7ad44)) - **scope-manager:** correct decorators(.length) check in ClassVisitor for methods ([#7334](https://togithub.com/typescript-eslint/typescript-eslint/issues/7334)) ([abbb6c2](https://togithub.com/typescript-eslint/typescript-eslint/commit/abbb6c2c6d2bc1f8d4defd2060dbc473735b2cc7)) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.2.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#620-2023-07-24) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.1.0...v6.2.0) ##### Bug Fixes - **eslint-plugin:** \[member-ordering] account for repeated names ([#6864](https://togithub.com/typescript-eslint/typescript-eslint/issues/6864)) ([d207b59](https://togithub.com/typescript-eslint/typescript-eslint/commit/d207b59e24acb9377a7a55104d082bd91fbb664e)) - **eslint-plugin:** \[no-unsafe-enum-comparison] exempt bit shift operators ([#7074](https://togithub.com/typescript-eslint/typescript-eslint/issues/7074)) ([b3e0e75](https://togithub.com/typescript-eslint/typescript-eslint/commit/b3e0e7571f1abb5dae347d3701844324232b1431)) - **eslint-plugin:** \[prefer-nullish-coalescing] handle case when type of left side is null or undefined ([#7225](https://togithub.com/typescript-eslint/typescript-eslint/issues/7225)) ([b62affe](https://togithub.com/typescript-eslint/typescript-eslint/commit/b62affe8ddac7c0af22bf74f22503d0cda92f4c0)) - **eslint-plugin:** use a default export for the rules type ([#7266](https://togithub.com/typescript-eslint/typescript-eslint/issues/7266)) ([af77a1d](https://togithub.com/typescript-eslint/typescript-eslint/commit/af77a1d33f0853d2ab0f61e4ac04dec47cd7ba18)) ##### Features - **eslint-plugin:** \[class-methods-use-this] add extension rule ([#6457](https://togithub.com/typescript-eslint/typescript-eslint/issues/6457)) ([18ea3b1](https://togithub.com/typescript-eslint/typescript-eslint/commit/18ea3b1f8938e25053f89b7e4ec8dcc6c453118a)) - **eslint-plugin:** sync getFunctionHeadLoc implementation with upstream ([#7260](https://togithub.com/typescript-eslint/typescript-eslint/issues/7260)) ([f813147](https://togithub.com/typescript-eslint/typescript-eslint/commit/f81314731cccb779423e2580a805eff3efff8564)) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.1.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#610-2023-07-17) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.0.0...v6.1.0) ##### Bug Fixes - **eslint-plugin:** \[comma-dangle] fixed crash from undefined predicate.ignore ([#7223](https://togithub.com/typescript-eslint/typescript-eslint/issues/7223)) ([d368164](https://togithub.com/typescript-eslint/typescript-eslint/commit/d368164478a8b141ad6b1c4ea5088fdc639ccafe)) - **eslint-plugin:** \[no-floating-promises] false negative calling .then with second argument undefined ([#6881](https://togithub.com/typescript-eslint/typescript-eslint/issues/6881)) ([606a52c](https://togithub.com/typescript-eslint/typescript-eslint/commit/606a52cefcecd594df6edc359bff291b835169f2)), closes [#6850](https://togithub.com/typescript-eslint/typescript-eslint/issues/6850) - **eslint-plugin:** \[no-floating-promises] finally should be transparent to unhandled promises ([#7092](https://togithub.com/typescript-eslint/typescript-eslint/issues/7092)) ([2a4421c](https://togithub.com/typescript-eslint/typescript-eslint/commit/2a4421ccf072f866bb6c2dadab967aa69ac9bf4a)) - **eslint-plugin:** \[no-unnecessary-type-constraint] correctly fix in cts/mts files ([#6795](https://togithub.com/typescript-eslint/typescript-eslint/issues/6795)) ([1404796](https://togithub.com/typescript-eslint/typescript-eslint/commit/14047963d79e4d4a783854e2826a30004fa34570)) - **eslint-plugin:** \[no-unused-vars] check if any variable definition is exported ([#6873](https://togithub.com/typescript-eslint/typescript-eslint/issues/6873)) ([587ac30](https://togithub.com/typescript-eslint/typescript-eslint/commit/587ac306d9e53736ebe799f5b9edcb7dd030eed6)), closes [#6188](https://togithub.com/typescript-eslint/typescript-eslint/issues/6188) - **eslint-plugin:** fix schemas across several rules and add schema tests ([#6947](https://togithub.com/typescript-eslint/typescript-eslint/issues/6947)) ([dd31bed](https://togithub.com/typescript-eslint/typescript-eslint/commit/dd31bed1e921531abe039180c9aeccbd56934601)) - **eslint-plugin:** include the rules types in the package ([#7215](https://togithub.com/typescript-eslint/typescript-eslint/issues/7215)) ([a3da11d](https://togithub.com/typescript-eslint/typescript-eslint/commit/a3da11d09b1d119fd5bc4cd776474e2520d7fefd)) ##### Features - **typescript-estree:** add EXPERIMENTAL_useProjectService option to use TypeScript project service ([#6754](https://togithub.com/typescript-eslint/typescript-eslint/issues/6754)) ([6d3d162](https://togithub.com/typescript-eslint/typescript-eslint/commit/6d3d162ce032ebcf5f892a4edfb897797fc96191)) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.0.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#600-2023-07-10) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.62.0...v6.0.0) ##### Bug Fixes - bumped ts-api-utils to 0.0.39 ([#6497](https://togithub.com/typescript-eslint/typescript-eslint/issues/6497)) ([217c710](https://togithub.com/typescript-eslint/typescript-eslint/commit/217c710d99445994b9c8db7b9bee9b9cc63bc4cb)) - correct handling of additionalProperties in object schemas ([#6939](https://togithub.com/typescript-eslint/typescript-eslint/issues/6939)) ([489c7a5](https://togithub.com/typescript-eslint/typescript-eslint/commit/489c7a50ae99ef66df152a68fd447f7e42a23558)) - correct lint error after merge ([277fdb5](https://togithub.com/typescript-eslint/typescript-eslint/commit/277fdb5ac76bd761ae6f5d1052445dcff2e848a1)) - **eslint-plugin:** \[explicit-module-boundary-types] remove shouldTrackReferences option from schema ([#5399](https://togithub.com/typescript-eslint/typescript-eslint/issues/5399)) ([6d32734](https://togithub.com/typescript-eslint/typescript-eslint/commit/6d32734b1312f60ee7d12d4bb19fc1cf52e7f0a5)) - **eslint-plugin:** allow parser@^6.0.0 ([#6630](https://togithub.com/typescript-eslint/typescript-eslint/issues/6630)) ([92908bd](https://togithub.com/typescript-eslint/typescript-eslint/commit/92908bdd9c102ff599da6a4791e8ad3e6d3dc593)) - **eslint-plugin:** remove valid-typeof disable in eslint-recommended ([#5381](https://togithub.com/typescript-eslint/typescript-eslint/issues/5381)) ([b82df5e](https://togithub.com/typescript-eslint/typescript-eslint/commit/b82df5eaed437727566cde2b53410001505f1b13)) - fix illegal decorator check ([#6723](https://togithub.com/typescript-eslint/typescript-eslint/issues/6723)) ([c456f8c](https://togithub.com/typescript-eslint/typescript-eslint/commit/c456f8cdef5a931c631bfbcfc84d8a25caaf019f)) - rename typeParameters to typeArguments where needed ([#5384](https://togithub.com/typescript-eslint/typescript-eslint/issues/5384)) ([08d757b](https://togithub.com/typescript-eslint/typescript-eslint/commit/08d757b26b00d0accea010e61ec42b4f753f993e)) - replace tsutils with ts-api-tools ([#6428](https://togithub.com/typescript-eslint/typescript-eslint/issues/6428)) ([79327b4](https://togithub.com/typescript-eslint/typescript-eslint/commit/79327b4999999cde3003901b40527af002c4906a)) - **type-utils:** treat intrinsic types as if they are from lib and never match error types ([#6869](https://togithub.com/typescript-eslint/typescript-eslint/issues/6869)) ([ecb57de](https://togithub.com/typescript-eslint/typescript-eslint/commit/ecb57de5eb50511bed163f6e1b27e31b8577344e)) - **typescript-estree:** account for namespace nesting in AST conversion ([#6272](https://togithub.com/typescript-eslint/typescript-eslint/issues/6272)) ([09e3877](https://togithub.com/typescript-eslint/typescript-eslint/commit/09e38776c63fea3328f71df36644ee11dd137cc1)) - update `exports` field in package.json files ([#6550](https://togithub.com/typescript-eslint/typescript-eslint/issues/6550)) ([53776c2](https://togithub.com/typescript-eslint/typescript-eslint/commit/53776c244f8bbdc852d57c7b313b0935e755ddc4)) ##### chore - drop support for node v14.17, v17 ([#5971](https://togithub.com/typescript-eslint/typescript-eslint/issues/5971)) ([cc62015](https://togithub.com/typescript-eslint/typescript-eslint/commit/cc62015b8ae5f207912ff8988e2a0b3fe9a79243)) ##### Features - add new package `rule-tester` ([#6777](https://togithub.com/typescript-eslint/typescript-eslint/issues/6777)) ([2ce1c1d](https://togithub.com/typescript-eslint/typescript-eslint/commit/2ce1c1d22c799a1ca027674fcb9b3a7ab0107428)) - add package.json exports for public packages ([#6458](https://togithub.com/typescript-eslint/typescript-eslint/issues/6458)) ([d676683](https://togithub.com/typescript-eslint/typescript-eslint/commit/d6766838a05259556029acaac57dc7839b68c592)) - bump minimum supported TS version to 4.2.4 ([#5915](https://togithub.com/typescript-eslint/typescript-eslint/issues/5915)) ([a8e71d5](https://togithub.com/typescript-eslint/typescript-eslint/commit/a8e71d52169f32ab9e836ec96d980ba52deffe12)) - bump ts-api-utils to v0.0.21 ([#6459](https://togithub.com/typescript-eslint/typescript-eslint/issues/6459)) ([3915661](https://togithub.com/typescript-eslint/typescript-eslint/commit/391566172dbc6013be79952fc68a588bf653fa8d)) - bump ts-api-utils to v0.0.22 ([#6472](https://togithub.com/typescript-eslint/typescript-eslint/issues/6472)) ([b88cd23](https://togithub.com/typescript-eslint/typescript-eslint/commit/b88cd2332921efcca7ec5f4176f19779346d963b)) - drop support for ESLint v6 ([#5972](https://togithub.com/typescript-eslint/typescript-eslint/issues/5972)) ([bda806d](https://togithub.com/typescript-eslint/typescript-eslint/commit/bda806d78ee46133587d9383baff52d796a594e5)) - drop support for node v12 ([#5918](https://togithub.com/typescript-eslint/typescript-eslint/issues/5918)) ([7e3fe9a](https://togithub.com/typescript-eslint/typescript-eslint/commit/7e3fe9a67abd394b0a114f2deb466edf5c9759ac)) - drop support for node v14 and test against node v20 ([#7022](https://togithub.com/typescript-eslint/typescript-eslint/issues/7022)) ([e6235bf](https://togithub.com/typescript-eslint/typescript-eslint/commit/e6235bf61b781066653581b57b7cd976c9c4f905)) - **eslint-plugin:** \[prefer-nullish-coalescing]: add support for assignment expressions ([#5234](https://togithub.com/typescript-eslint/typescript-eslint/issues/5234)) ([4bdbe67](https://togithub.com/typescript-eslint/typescript-eslint/commit/4bdbe67955fd591c25e58b13e674ba05bf5ed585)) - **eslint-plugin:** \[prefer-optional-chain] handle cases where the first operands are unrelated to the rest of the chain and add type info ([#6397](https://togithub.com/typescript-eslint/typescript-eslint/issues/6397)) ([02a37c4](https://togithub.com/typescript-eslint/typescript-eslint/commit/02a37c4c79d9b83998b7ee1376be43b06e12b3a0)) - **eslint-plugin:** \[prefer-readonly-parameter-types] added an optional type allowlist ([#4436](https://togithub.com/typescript-eslint/typescript-eslint/issues/4436)) ([c9427b7](https://togithub.com/typescript-eslint/typescript-eslint/commit/c9427b78b69f1a6a2453ef2df2be5bf96b7b00bc)) - **eslint-plugin:** \[restrict-plus-operands] change checkCompoundAssignments to skipCompoundAssignments ([#7027](https://togithub.com/typescript-eslint/typescript-eslint/issues/7027)) ([dc801d8](https://togithub.com/typescript-eslint/typescript-eslint/commit/dc801d892ecc1af678ff37166481f4b69186164c)) - **eslint-plugin:** add config that disables type-aware linting ([#6470](https://togithub.com/typescript-eslint/typescript-eslint/issues/6470)) ([3b063cf](https://togithub.com/typescript-eslint/typescript-eslint/commit/3b063cfadce50985f8ec6d8f44f5b1cbd5c1ea57)) - **eslint-plugin:** apply final v6 changes to configs ([#7110](https://togithub.com/typescript-eslint/typescript-eslint/issues/7110)) ([c13ce0b](https://togithub.com/typescript-eslint/typescript-eslint/commit/c13ce0b4f7a74a6d8fecf78d25ebd8181f7a9119)) - **eslint-plugin:** deprecate no-type-alias ([#6229](https://togithub.com/typescript-eslint/typescript-eslint/issues/6229)) ([820bdf2](https://togithub.com/typescript-eslint/typescript-eslint/commit/820bdf2a3934d4186d51186693ced02df64a57ce)) - **eslint-plugin:** final final config changes for v6 ([#7157](https://togithub.com/typescript-eslint/typescript-eslint/issues/7157)) ([e35c5c1](https://togithub.com/typescript-eslint/typescript-eslint/commit/e35c5c1c39f3d76b916ad1c1ac2c7bf05b379193)) - **eslint-plugin:** rework configs: recommended, strict, stylistic; -type-checked ([#5251](https://togithub.com/typescript-eslint/typescript-eslint/issues/5251)) ([5346b5b](https://togithub.com/typescript-eslint/typescript-eslint/commit/5346b5bbdbba81439ba761c282ba9cdcec7b45c8)), closes [#5036](https://togithub.com/typescript-eslint/typescript-eslint/issues/5036) [#5834](https://togithub.com/typescript-eslint/typescript-eslint/issues/5834) [#5882](https://togithub.com/typescript-eslint/typescript-eslint/issues/5882) [#5864](https://togithub.com/typescript-eslint/typescript-eslint/issues/5864) [#3076](https://togithub.com/typescript-eslint/typescript-eslint/issues/3076) [#5834](https://togithub.com/typescript-eslint/typescript-eslint/issues/5834) [#5882](https://togithub.com/typescript-eslint/typescript-eslint/issues/5882) [#5864](https://togithub.com/typescript-eslint/typescript-eslint/issues/5864) [#5889](https://togithub.com/typescript-eslint/typescript-eslint/issues/5889) [#5834](https://togithub.com/typescript-eslint/typescript-eslint/issues/5834) [#5882](https://togithub.com/typescript-eslint/typescript-eslint/issues/5882) [#5864](https://togithub.com/typescript-eslint/typescript-eslint/issues/5864) [#5883](https://togithub.com/typescript-eslint/typescript-eslint/issues/5883) [#4863](https://togithub.com/typescript-eslint/typescript-eslint/issues/4863) [#5381](https://togithub.com/typescript-eslint/typescript-eslint/issues/5381) [#5256](https://togithub.com/typescript-eslint/typescript-eslint/issues/5256) [#5399](https://togithub.com/typescript-eslint/typescript-eslint/issues/5399) - fork json schema types for better compat with ESLint rule validation ([#6963](https://togithub.com/typescript-eslint/typescript-eslint/issues/6963)) ([a4967f2](https://togithub.com/typescript-eslint/typescript-eslint/commit/a4967f2e8cc7b0432d8dfe804772e60042c5384c)) - improve rule schemas, add test to validate schemas, add tooling to generate schema types ([#6899](https://togithub.com/typescript-eslint/typescript-eslint/issues/6899)) ([acc1a43](https://togithub.com/typescript-eslint/typescript-eslint/commit/acc1a43e02a403ff74a54c28c2c495f00d0be038)) - made BaseNode.parent non-optional ([#5252](https://togithub.com/typescript-eslint/typescript-eslint/issues/5252)) ([a4768f3](https://togithub.com/typescript-eslint/typescript-eslint/commit/a4768f38ef4943873c1e9443e8cd101a663ac3c0)), closes [#5036](https://togithub.com/typescript-eslint/typescript-eslint/issues/5036) [#5834](https://togithub.com/typescript-eslint/typescript-eslint/issues/5834) [#5882](https://togithub.com/typescript-eslint/typescript-eslint/issues/5882) [#5864](https://togithub.com/typescript-eslint/typescript-eslint/issues/5864) [#3076](https://togithub.com/typescript-eslint/typescript-eslint/issues/3076) [#5834](https://togithub.com/typescript-eslint/typescript-eslint/issues/5834) [#5882](https://togithub.com/typescript-eslint/typescript-eslint/issues/5882) [#5864](https://togithub.com/typescript-eslint/typescript-eslint/issues/5864) [#5889](https://togithub.com/typescript-eslint/typescript-eslint/issues/5889) [#5834](https://togithub.com/typescript-eslint/typescript-eslint/issues/5834) [#5882](https://togithub.com/typescript-eslint/typescript-eslint/issues/5882) [#5864](https://togithub.com/typescript-eslint/typescript-eslint/issues/5864) [#5883](https://togithub.com/typescript-eslint/typescript-eslint/issues/5883) [#4863](https://togithub.com/typescript-eslint/typescript-eslint/issues/4863) [#5381](https://togithub.com/typescript-eslint/typescript-eslint/issues/5381) [#5256](https://togithub.com/typescript-eslint/typescript-eslint/issues/5256) [#5399](https://togithub.com/typescript-eslint/typescript-eslint/issues/5399) - remove `RuleTester` in `/utils` in favour of the new `/rule-tester` package ([#6816](https://togithub.com/typescript-eslint/typescript-eslint/issues/6816)) ([c33f497](https://togithub.com/typescript-eslint/typescript-eslint/commit/c33f497ad8aec7c123c7374f7aff3e24025fe861)) - remove partial type-information program ([#6066](https://togithub.com/typescript-eslint/typescript-eslint/issues/6066)) ([7fc062a](https://togithub.com/typescript-eslint/typescript-eslint/commit/7fc062abc30a73093cd943c2cb808ae373fe12d9)) - **typescript-estree:** add type checker wrapper APIs to ParserServicesWithTypeInformation ([#6404](https://togithub.com/typescript-eslint/typescript-eslint/issues/6404)) ([62d5755](https://togithub.com/typescript-eslint/typescript-eslint/commit/62d57559564fb08512eafe03a2c1b167c4377601)) - **typescript-estree:** added allowInvalidAST option to not throw on invalid tokens ([#6247](https://togithub.com/typescript-eslint/typescript-eslint/issues/6247)) ([a3b177d](https://togithub.com/typescript-eslint/typescript-eslint/commit/a3b177d59adaf8ea76b205befc8b12d86447f1fb)) - **typescript-estree:** check for illegal decorators on function declarations ([#6590](https://togithub.com/typescript-eslint/typescript-eslint/issues/6590)) ([1b39cfd](https://togithub.com/typescript-eslint/typescript-eslint/commit/1b39cfd307955deb8e407cf8dd3a6ca1ed1b8df6)) - **typescript-estree:** check modifiers on every node ([#6615](https://togithub.com/typescript-eslint/typescript-eslint/issues/6615)) ([62d6230](https://togithub.com/typescript-eslint/typescript-eslint/commit/62d62304e16b553274a80d8ab2653543a22f2391)) - **typescript-estree:** remove optionality from AST boolean properties ([#6274](https://togithub.com/typescript-eslint/typescript-eslint/issues/6274)) ([df131e2](https://togithub.com/typescript-eslint/typescript-eslint/commit/df131e258c93e5714c88c0373cfeb2e1e75afc75)) - **typescript-estree:** throw errors for object methods without function bodies ([#6589](https://togithub.com/typescript-eslint/typescript-eslint/issues/6589)) ([1d78576](https://togithub.com/typescript-eslint/typescript-eslint/commit/1d78576d41323e35c2d2a2ecc92f6ee76ed61d57)) - **typescript-estree:** throw errors when abstract property has initializer ([#6613](https://togithub.com/typescript-eslint/typescript-eslint/issues/6613)) ([dcdbc76](https://togithub.com/typescript-eslint/typescript-eslint/commit/dcdbc76d5418a383968d15e32d2eba7a9d2d7e79)) ##### BREAKING CHANGES - **eslint-plugin:** Adds an additional class of checks to the rule - drop support for ESLint v6 - drops support for node v17 - Bumps the minimum supported range and removes handling for old versions - drops support for node v12 You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.typescript-eslint/typescript-eslint (@typescript-eslint/parser)
### [`v6.3.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#630-2023-08-07) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.2.1...v6.3.0) **Note:** Version bump only for package [@typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. #### [6.2.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.2.0...v6.2.1) (2023-07-31) **Note:** Version bump only for package [@typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.2.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#621-2023-07-31) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.2.0...v6.2.1) **Note:** Version bump only for package [@typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.2.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#620-2023-07-24) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.1.0...v6.2.0) **Note:** Version bump only for package [@typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.1.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#610-2023-07-17) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.0.0...v6.1.0) ##### Features - **typescript-estree:** add EXPERIMENTAL_useProjectService option to use TypeScript project service ([#6754](https://togithub.com/typescript-eslint/typescript-eslint/issues/6754)) ([6d3d162](https://togithub.com/typescript-eslint/typescript-eslint/commit/6d3d162ce032ebcf5f892a4edfb897797fc96191)) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.0.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#600-2023-07-10) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.62.0...v6.0.0) ##### Bug Fixes - update `exports` field in package.json files ([#6550](https://togithub.com/typescript-eslint/typescript-eslint/issues/6550)) ([53776c2](https://togithub.com/typescript-eslint/typescript-eslint/commit/53776c244f8bbdc852d57c7b313b0935e755ddc4)) ##### chore - drop support for node v14.17, v17 ([#5971](https://togithub.com/typescript-eslint/typescript-eslint/issues/5971)) ([cc62015](https://togithub.com/typescript-eslint/typescript-eslint/commit/cc62015b8ae5f207912ff8988e2a0b3fe9a79243)) ##### Features - add new package `rule-tester` ([#6777](https://togithub.com/typescript-eslint/typescript-eslint/issues/6777)) ([2ce1c1d](https://togithub.com/typescript-eslint/typescript-eslint/commit/2ce1c1d22c799a1ca027674fcb9b3a7ab0107428)) - add package.json exports for public packages ([#6458](https://togithub.com/typescript-eslint/typescript-eslint/issues/6458)) ([d676683](https://togithub.com/typescript-eslint/typescript-eslint/commit/d6766838a05259556029acaac57dc7839b68c592)) - drop support for ESLint v6 ([#5972](https://togithub.com/typescript-eslint/typescript-eslint/issues/5972)) ([bda806d](https://togithub.com/typescript-eslint/typescript-eslint/commit/bda806d78ee46133587d9383baff52d796a594e5)) - drop support for node v12 ([#5918](https://togithub.com/typescript-eslint/typescript-eslint/issues/5918)) ([7e3fe9a](https://togithub.com/typescript-eslint/typescript-eslint/commit/7e3fe9a67abd394b0a114f2deb466edf5c9759ac)) - drop support for node v14 and test against node v20 ([#7022](https://togithub.com/typescript-eslint/typescript-eslint/issues/7022)) ([e6235bf](https://togithub.com/typescript-eslint/typescript-eslint/commit/e6235bf61b781066653581b57b7cd976c9c4f905)) - remove partial type-information program ([#6066](https://togithub.com/typescript-eslint/typescript-eslint/issues/6066)) ([7fc062a](https://togithub.com/typescript-eslint/typescript-eslint/commit/7fc062abc30a73093cd943c2cb808ae373fe12d9)) - **scope-manager:** ignore ECMA version ([#5889](https://togithub.com/typescript-eslint/typescript-eslint/issues/5889)) ([f2330f7](https://togithub.com/typescript-eslint/typescript-eslint/commit/f2330f79739eb93e3c290ccc6e810a01e097eda0)), closes [#5834](https://togithub.com/typescript-eslint/typescript-eslint/issues/5834) [#5882](https://togithub.com/typescript-eslint/typescript-eslint/issues/5882) [#5864](https://togithub.com/typescript-eslint/typescript-eslint/issues/5864) [#5883](https://togithub.com/typescript-eslint/typescript-eslint/issues/5883) - **typescript-estree:** added allowInvalidAST option to not throw on invalid tokens ([#6247](https://togithub.com/typescript-eslint/typescript-eslint/issues/6247)) ([a3b177d](https://togithub.com/typescript-eslint/typescript-eslint/commit/a3b177d59adaf8ea76b205befc8b12d86447f1fb)) - **typescript-estree:** allow providing code as a ts.SourceFile ([#5892](https://togithub.com/typescript-eslint/typescript-eslint/issues/5892)) ([af41b7f](https://togithub.com/typescript-eslint/typescript-eslint/commit/af41b7fa7b9b8f3023fdabd40846598d5d4d4f61)) - **typescript-estree:** deprecate createDefaultProgram ([#5890](https://togithub.com/typescript-eslint/typescript-eslint/issues/5890)) ([426d6b6](https://togithub.com/typescript-eslint/typescript-eslint/commit/426d6b647e6df3e312d1cef3e28dadaef6675fd3)) - **typescript-estree:** remove optionality from AST boolean properties ([#6274](https://togithub.com/typescript-eslint/typescript-eslint/issues/6274)) ([df131e2](https://togithub.com/typescript-eslint/typescript-eslint/commit/df131e258c93e5714c88c0373cfeb2e1e75afc75)) ##### BREAKING CHANGES - drop support for ESLint v6 - drops support for node v17 - drops support for node v12 You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.prettier/eslint-config-prettier (eslint-config-prettier)
### [`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.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 pluginsprettier/prettier (prettier)
### [`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 PrinterConfiguration
📅 Schedule: Branch creation - "before 4am on the first day of the month" in timezone Australia/Sydney, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.