Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 28, 2020

This PR contains the following updates:

Package Type Update Change
@typescript-eslint/eslint-plugin devDependencies major 3.10.1 -> 4.3.0
@typescript-eslint/parser devDependencies major 3.10.1 -> 4.3.0

Release Notes

typescript-eslint/typescript-eslint

v4.3.0

Compare Source

Bug Fixes
  • eslint-plugin: added safe getTypeOfPropertyOfType wrapper (#​2567) (7cba2de)
  • experimental-utils: treat RuleTester arrays as readonly (#​2601) (8025777)
Features
  • eslint-plugin: [no-invalid-void-type] add option to allow this: void (#​2481) (ddf5660)

v4.2.0

Compare Source

Bug Fixes
  • eslint-plugin: [naming-convention] ignore properties inside object patterns (#​2566) (53a3cbc)
  • eslint-plugin: [prefer-ts-expect-error] support block comments (#​2541) (c6f72fb)
  • scope-manager: correct analysis of inferred types in conditional types (#​2537) (4f660fd)
Features

4.1.1 (2020-09-14)

Bug Fixes
  • eslint-plugin: [naming-convention] allow an array of selectors with types and modifiers (#​2415) (7ca54c3)
  • eslint-plugin: [no-implied-eval] handle the Function type (#​2435) (e1401dc)
  • eslint-plugin: [no-unused-vars] better handling for declared modules (#​2553) (02d72d4), closes #​2523
  • eslint-plugin: [no-use-before-define] false positive for function type arguments (#​2554) (189162d), closes #​2527
  • eslint-plugin: [prefer-function-type] handle this return (#​2437) (7c6fcee)
  • eslint-plugin: [return-await] don't error for in-try-catch if the return is in a catch without a finally (#​2356) (efdd521)
  • types: artificial fix needed to trigger release (b577daf)
  • types: artificial fix needed to trigger release (fc62ba8)

v4.1.1

Compare Source

Bug Fixes
  • eslint-plugin: [naming-convention] allow an array of selectors with types and modifiers (#​2415) (7ca54c3)
  • eslint-plugin: [no-implied-eval] handle the Function type (#​2435) (e1401dc)
  • eslint-plugin: [no-unused-vars] better handling for declared modules (#​2553) (02d72d4), closes #​2523
  • eslint-plugin: [no-use-before-define] false positive for function type arguments (#​2554) (189162d), closes #​2527
  • eslint-plugin: [prefer-function-type] handle this return (#​2437) (7c6fcee)
  • eslint-plugin: [return-await] don't error for in-try-catch if the return is in a catch without a finally (#​2356) (efdd521)
  • types: artificial fix needed to trigger release (b577daf)
  • types: artificial fix needed to trigger release (fc62ba8)

v4.1.0

Compare Source

Bug Fixes
  • eslint-plugin: [explicit-module-boundary-types] cyclical reference infinite recursion crash (#​2482) (8693653)
  • eslint-plugin: [no-unused-vars] correct detection of unused vars in a declared module with export = (#​2505) (3d07a99)
  • eslint-plugin: [no-unused-vars] properly handle ambient declaration exports (#​2496) (4d3ce5f)
  • eslint-plugin: [no-use-before-define] false positive with jsx pragma reference (#​2503) (5afeeab), closes #​2502
  • eslint-plugin: [typedef] false positive for rest parameter with array destructuring (#​2441) (2ada5af)
  • eslint-plugin: handle missing message IDs in eslint v5/v6 (#​2461) (ffdfade)
  • scope-manager: add const as a global type variable (#​2499) (eb3f6e3)
  • scope-manager: correctly handle inferred types in nested type scopes (#​2497) (95f6bf4)
  • scope-manager: don't create references for intrinsic JSX elements (#​2504) (cdb9807)
  • scope-manager: fallback to lib 'esnext' or 'es5' when ecma version is unsupported (#​2474) (20a7dcc)
  • scope-manager: support rest function type parameters (#​2491) (9d8b4c4), closes #​2449
  • scope-manager: support tagged template string generic type parameters (#​2492) (a2686c0)
  • scope-manager: support type predicates (#​2493) (a40f54c), closes #​2462
  • scope-manager: treat type imports as both values and types (#​2494) (916e95a), closes #​2453
Features

4.0.1 (2020-08-31)

Bug Fixes

v4.0.1

Compare Source

Bug Fixes

v4.0.0

Compare Source

Please see the release notes for v4.0.0

Bug Fixes
  • eslint-plugin: [no-shadow] fix false-positive on enum declaration (#​2374) (9de669f)
  • eslint-plugin: [no-unused-vars] handle TSCallSignature (#​2336) (c70f54f)
  • correct decorator traversal for AssignmentPattern (#​2375) (d738fa4)
  • scope-manager: correct analysis of abstract class properties (#​2420) (cd84549)
  • typescript-estree: correct ChainExpression interaction with parentheses and non-nulls (#​2380) (762bc99)
Features
  • consume new scope analysis package (#​2039) (3be125d)
  • support ESTree optional chaining representation (#​2308) (e9d2ab6)
  • eslint-plugin: [ban-ts-comment] change default for ts-expect-error to allow-with-description (#​2351) (a3f163a), closes #​2146
  • eslint-plugin: [no-unnecessary-condition][strict-boolean-expressions] add option to make the rules error on files without strictNullChecks turned on (#​2345) (9273441)
  • eslint-plugin: [typedef] remove all defaults (#​2352) (a9cd6fb)
  • eslint-plugin: add consistent-type-imports rule (#​2367) (58b1c2d)
  • typescript-estree: switch to globby (#​2418) (3a7ec9b), closes #​2398
BREAKING CHANGES
  • typescript-estree: - removes the ability to supply a RegExp to projectFolderIgnoreList, and changes the meaning of the string value from a regex to a glob.

    • Removed decorators property from several Nodes that could never semantically have them (FunctionDeclaration, TSEnumDeclaration, and TSInterfaceDeclaration)
  • Removed AST_NODE_TYPES.Import. This is a minor breaking change as the node type that used this was removed ages ago.

  • eslint-plugin: Default rule options is a breaking change.

3.10.1 (2020-08-25)

Bug Fixes
  • eslint-plugin: [no-unnecessary-condition] correct regression with unary negations (#​2422) (d1f0887), closes #​2421

Renovate configuration

📅 Schedule: "on Monday every 8 weeks of the year starting on the 8th week" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 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 WhiteSource Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner September 28, 2020 03:48
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 243b5b8 to 6bb0222 Compare September 28, 2020 17:21
@renovate renovate bot changed the title chore(deps): update typescript-eslint monorepo to v4 (major) chore(deps): update typescript-eslint monorepo (major) Sep 28, 2020
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 6bb0222 to 54301e9 Compare September 28, 2020 17:37
@renovate renovate bot changed the title chore(deps): update typescript-eslint monorepo (major) chore(deps): update typescript-eslint monorepo to v4 (major) Sep 28, 2020
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 5 times, most recently from ac96758 to f1589ea Compare September 28, 2020 21:11
@hzhu hzhu force-pushed the renovate/major-typescript-eslint-monorepo branch from f1589ea to 08dcbbc Compare September 28, 2020 22:16
@zendesk-garden zendesk-garden temporarily deployed to staging September 28, 2020 22:28 Inactive
Copy link
Contributor

@hzhu hzhu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

error 'React' was used before it was defined no-use-before-define

It looks like these errors are the result of project dependency (Gatsby) not having its typescript-eslint versions updated to at least v4. In the meantime, this project will use v4.0.1 rather than v4.3.0.

Screen Shot 2020-09-28 at 2 47 17 PM

See: https://stackoverflow.com/questions/63818415/react-was-used-before-it-was-defined
See: typescript-eslint/typescript-eslint#2540 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants