chore(deps): update typescript-eslint monorepo to v6 (major)
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
@typescript-eslint/eslint-plugin | ^5.27.1 -> ^6.0.0 |
||||
@typescript-eslint/parser | ^5.27.1 -> ^6.0.0 |
Release Notes
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
v6.2.1
Bug Fixes
- eslint-plugin: [no-inferrable-types] apply also for parameter properties (#7288) (67f93b1)
- scope-manager: correct decorators(.length) check in ClassVisitor for methods (#7334) (abbb6c2)
You can read about our versioning strategy and releases on our website.
v6.2.0
Bug Fixes
- eslint-plugin: [member-ordering] account for repeated names (#6864) (d207b59)
- eslint-plugin: [no-unsafe-enum-comparison] exempt bit shift operators (#7074) (b3e0e75)
- eslint-plugin: [prefer-nullish-coalescing] handle case when type of left side is null or undefined (#7225) (b62affe)
- eslint-plugin: use a default export for the rules type (#7266) (af77a1d)
Features
- eslint-plugin: [class-methods-use-this] add extension rule (#6457) (18ea3b1)
- eslint-plugin: sync getFunctionHeadLoc implementation with upstream (#7260) (f813147)
You can read about our versioning strategy and releases on our website.
v6.1.0
Bug Fixes
- eslint-plugin: [comma-dangle] fixed crash from undefined predicate.ignore (#7223) (d368164)
- eslint-plugin: [no-floating-promises] false negative calling .then with second argument undefined (#6881) (606a52c), closes #6850
- eslint-plugin: [no-floating-promises] finally should be transparent to unhandled promises (#7092) (2a4421c)
- eslint-plugin: [no-unnecessary-type-constraint] correctly fix in cts/mts files (#6795) (1404796)
- eslint-plugin: [no-unused-vars] check if any variable definition is exported (#6873) (587ac30), closes #6188
- eslint-plugin: fix schemas across several rules and add schema tests (#6947) (dd31bed)
- eslint-plugin: include the rules types in the package (#7215) (a3da11d)
Features
- typescript-estree: add EXPERIMENTAL_useProjectService option to use TypeScript project service (#6754) (6d3d162)
You can read about our versioning strategy and releases on our website.
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.2.1
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.2.0
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.1.0
Features
- typescript-estree: add EXPERIMENTAL_useProjectService option to use TypeScript project service (#6754) (6d3d162)
You can read about our versioning strategy and releases on our website.
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.