ota-meshi / typescript-eslint-parser-for-extra-files

An experimental ESLint custom parser for Vue, Svelte, and Astro for use with TypeScript. It provides type information in combination with each framework's ESLint custom parser.
MIT License
42 stars 1 forks source link

chore(deps): update typescript-eslint monorepo to v6 (major) #54

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@typescript-eslint/eslint-plugin ^5.41.0 -> ^6.0.0 age adoption passing confidence
@typescript-eslint/parser ^5.41.0 -> ^6.0.0 age adoption passing confidence

Release Notes

typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin) ### [`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.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.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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

🔕 Ignore: Close this PR and you won't be reminded about these updates again.



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

changeset-bot[bot] commented 1 year ago

⚠️ No Changeset found

Latest commit: e615e5806f8179c58d23cd78091f4c246c4742e7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

renovate[bot] commented 1 year ago

Edited/Blocked Notification

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.