polymorphic
polymorphic copied to clipboard
chore(deps): update typescript-eslint monorepo to v6 (major)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @typescript-eslint/eslint-plugin | 5.62.0 -> 6.8.0 |
||||
| @typescript-eslint/parser | 5.62.0 -> 6.8.0 |
Release Notes
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
v6.8.0
Bug Fixes
- eslint-plugin: [consistent-type-imports] import assertion checks added (#7722) (afdae37)
- eslint-plugin: [no-shadow] fix static class generics for class expressions (#7724) (e5ea1d0)
- eslint-plugin: [no-unsafe-member-access] report on only the accessed property (#7717) (f81a2da)
- eslint-plugin: [no-useless-empty-export] exempt .d.ts (#7718) (ac397f1)
Features
You can read about our versioning strategy and releases on our website.
6.7.5 (2023-10-09)
Bug Fixes
- eslint-plugin: [prefer-string-starts-ends-with] only report slice/substring with correct range (#7712) (db40a0a)
You can read about our versioning strategy and releases on our website.
6.7.4 (2023-10-02)
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
6.7.3 (2023-09-25)
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
6.7.2 (2023-09-18)
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
6.7.1 (2023-09-18)
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
v6.7.5
Bug Fixes
- eslint-plugin: [prefer-string-starts-ends-with] only report slice/substring with correct range (#7712) (db40a0a)
You can read about our versioning strategy and releases on our website.
v6.7.4
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
v6.7.3
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
v6.7.2
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
v6.7.0
Bug Fixes
- eslint-plugin: [no-restricted-imports] disallow side effect imports when allowTypeImports is enabled (#7560) (4908905)
Features
You can read about our versioning strategy and releases on our website.
v6.6.0
Bug Fixes
You can read about our versioning strategy and releases on our website.
v6.5.0
Bug Fixes
- eslint-plugin: [consistent-type-assertions] wrap object return value with parentheses (#6885) (23ac499)
You can read about our versioning strategy and releases on our website.
6.4.1 (2023-08-21)
Bug Fixes
- eslint-plugin: [no-unnecessary-condition] false positives with branded types (#7466) (b52658f), closes #7293
You can read about our versioning strategy and releases on our website.
v6.4.1
Bug Fixes
- eslint-plugin: [no-unnecessary-condition] false positives with branded types (#7466) (b52658f), closes #7293
You can read about our versioning strategy and releases on our website.
v6.4.0
Bug Fixes
- eslint-plugin: [non-nullable-type-assertion-style] consider operator precedence when fixing (#7289) (bad37a2)
- eslint-plugin: [strict-boolean-expressions] replace dangerous fixer with suggestions (#7394) (ad8401a)
You can read about our versioning strategy and releases on our website.
v6.3.0
Bug Fixes
- eslint-plugin: [no-extra-parens] keep parens around call expression arguments when type arguments contain parens (#7375) (38e5e4e)
- eslint-plugin: [no-restricted-imports] allow inline type qualifiers when
allowTypeImportsenabled (#7379) (cc9a46d)
Features
- eslint-plugin: [prefer-nullish-coalescing] allow
ignorePrimitivesoption to betrue(#7331) (dfcafae)
Reverts
You can read about our versioning strategy and releases on our website.
6.2.1 (2023-07-31)
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.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
exportsfield 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
RuleTesterin/utilsin favour of the new/rule-testerpackage (#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.8.0
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
6.7.5 (2023-10-09)
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
6.7.4 (2023-10-02)
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
6.7.3 (2023-09-25)
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
6.7.2 (2023-09-18)
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
6.7.1 (2023-09-18)
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.7.5
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.7.4
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.7.3
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.7.2
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.7.0
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.6.0
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.5.0
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
6.4.1 (2023-08-21)
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.4.1
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.4.0
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.3.0
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
6.2.1 (2023-07-31)
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
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
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
Codecov Report
Merging #505 (31620c4) into main (a670ba3) will not change coverage. Report is 2 commits behind head on main. The diff coverage is
n/a.
:exclamation: Current head 31620c4 differs from pull request most recent head db5ca26. Consider uploading reports for the commit db5ca26 to get more accurate results
@@ Coverage Diff @@
## main #505 +/- ##
=======================================
Coverage 99.70% 99.70%
=======================================
Files 11 11
Lines 678 678
Branches 47 47
=======================================
Hits 676 676
Misses 2 2
| Flag | Coverage Δ | |
|---|---|---|
| preact | 100.00% <ø> (ø) |
|
| react | 100.00% <ø> (ø) |
|
| solid | 100.00% <ø> (ø) |
|
| vue | 98.91% <ø> (ø) |
Flags with carried forward coverage won't be shown. Click here to find out more.
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more