Update typescript-eslint monorepo to v6 (major) - autoclosed
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
@typescript-eslint/eslint-plugin | ^5.62.0 -> ^6.0.0 |
||||
@typescript-eslint/parser | ^5.62.0 -> ^6.0.0 |
Release Notes
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
v6.0.0
Bug Fixes
- bumped ts-api-utils to 0.0.39 (#6497) (217c710)
- correct handling of additionalProperties in object schemas (#6939) (489c7a5)
- correct lint error after merge (277fdb5)
- eslint-plugin: [explicit-module-boundary-types] remove shouldTrackReferences option from schema (#5399) (6d32734)
- eslint-plugin: allow parser@^6.0.0 (#6630) (92908bd)
- eslint-plugin: remove valid-typeof disable in eslint-recommended (#5381) (b82df5e)
- fix illegal decorator check (#6723) (c456f8c)
- rename typeParameters to typeArguments where needed (#5384) (08d757b)
- replace tsutils with ts-api-tools (#6428) (79327b4)
- type-utils: treat intrinsic types as if they are from lib and never match error types (#6869) (ecb57de)
- typescript-estree: account for namespace nesting in AST conversion (#6272) (09e3877)
- update
exports
field in package.json files (#6550) (53776c2)
chore
Features
- add new package
rule-tester
(#6777) (2ce1c1d) - add package.json exports for public packages (#6458) (d676683)
- bump minimum supported TS version to 4.2.4 (#5915) (a8e71d5)
- bump ts-api-utils to v0.0.21 (#6459) (3915661)
- bump ts-api-utils to v0.0.22 (#6472) (b88cd23)
- drop support for ESLint v6 (#5972) (bda806d)
- drop support for node v12 (#5918) (7e3fe9a)
- drop support for node v14 and test against node v20 (#7022) (e6235bf)
- eslint-plugin: [prefer-nullish-coalescing]: add support for assignment expressions (#5234) (4bdbe67)
- eslint-plugin: [prefer-optional-chain] handle cases where the first operands are unrelated to the rest of the chain and add type info (#6397) (02a37c4)
- eslint-plugin: [prefer-readonly-parameter-types] added an optional type allowlist (#4436) (c9427b7)
- eslint-plugin: [restrict-plus-operands] change checkCompoundAssignments to skipCompoundAssignments (#7027) (dc801d8)
- eslint-plugin: add config that disables type-aware linting (#6470) (3b063cf)
- eslint-plugin: apply final v6 changes to configs (#7110) (c13ce0b)
- eslint-plugin: deprecate no-type-alias (#6229) (820bdf2)
- eslint-plugin: final final config changes for v6 (#7157) (e35c5c1)
- eslint-plugin: rework configs: recommended, strict, stylistic; -type-checked (#5251) (5346b5b), closes #5036 #5834 #5882 #5864 #3076 #5834 #5882 #5864 #5889 #5834 #5882 #5864 #5883 #4863 #5381 #5256 #5399
- fork json schema types for better compat with ESLint rule validation (#6963) (a4967f2)
- improve rule schemas, add test to validate schemas, add tooling to generate schema types (#6899) (acc1a43)
- made BaseNode.parent non-optional (#5252) (a4768f3), closes #5036 #5834 #5882 #5864 #3076 #5834 #5882 #5864 #5889 #5834 #5882 #5864 #5883 #4863 #5381 #5256 #5399
- remove
RuleTester
in/utils
in favour of the new/rule-tester
package (#6816) (c33f497) - remove partial type-information program (#6066) (7fc062a)
- typescript-estree: add type checker wrapper APIs to ParserServicesWithTypeInformation (#6404) (62d5755)
- typescript-estree: added allowInvalidAST option to not throw on invalid tokens (#6247) (a3b177d)
- typescript-estree: check for illegal decorators on function declarations (#6590) (1b39cfd)
- typescript-estree: check modifiers on every node (#6615) (62d6230)
- typescript-estree: remove optionality from AST boolean properties (#6274) (df131e2)
- typescript-estree: throw errors for object methods without function bodies (#6589) (1d78576)
- typescript-estree: throw errors when abstract property has initializer (#6613) (dcdbc76)
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 and releases on our website.
typescript-eslint/typescript-eslint (@typescript-eslint/parser)
v6.0.0
Bug Fixes
chore
Features
- add new package
rule-tester
(#6777) (2ce1c1d) - add package.json exports for public packages (#6458) (d676683)
- drop support for ESLint v6 (#5972) (bda806d)
- drop support for node v12 (#5918) (7e3fe9a)
- drop support for node v14 and test against node v20 (#7022) (e6235bf)
- remove partial type-information program (#6066) (7fc062a)
- scope-manager: ignore ECMA version (#5889) (f2330f7), closes #5834 #5882 #5864 #5883
- typescript-estree: added allowInvalidAST option to not throw on invalid tokens (#6247) (a3b177d)
- typescript-estree: allow providing code as a ts.SourceFile (#5892) (af41b7f)
- typescript-estree: deprecate createDefaultProgram (#5890) (426d6b6)
- typescript-estree: remove optionality from AST boolean properties (#6274) (df131e2)
BREAKING CHANGES
- drop support for ESLint v6
- drops support for node v17
- drops support for node v12
You can read about our versioning strategy and releases on our website.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.