Skip to content

Update typescript-eslint monorepo to v3 (major) #3524

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Aug 25, 2020

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 31, 2020

This PR contains the following updates:

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

Release Notes

typescript-eslint/typescript-eslint

v3.10.1

Compare Source

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

v3.10.0

Compare Source

Bug Fixes
  • eslint-plugin: [explicit-module-boundary-types] ignore abstract setters (#​2410) (3764248)
  • eslint-plugin: [explicit-module-boundary-types] ignore all bodyless setters (#​2413) (a53f8c6)
  • eslint-plugin: [no-unnecessary-condition] better handling for unary negation (#​2382) (32fe2bb)
  • typescript-estree: ts.NamedTupleMember workaround for <TS4.0 (#​2405) (b62331a)
Features

3.9.1 (2020-08-17)

Bug Fixes
  • eslint-plugin: [no-unnecessary-condition] fix false positive with nullish coalescing (#​2385) (092c969)
  • eslint-plugin: [prefer-includes] don't auto fix when test method's argument type doesn't have an 'includes' method (#​2391) (71c4c72)

v3.9.1

Compare Source

Bug Fixes
  • eslint-plugin: [no-unnecessary-condition] fix false positive with nullish coalescing (#​2385) (092c969)
  • eslint-plugin: [prefer-includes] don't auto fix when test method's argument type doesn't have an 'includes' method (#​2391) (71c4c72)

v3.9.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-throw-literal] support type assertions (#​2354) (470174a)
Features
  • eslint-plugin: [no-unsafe-assignment/return] allow assigning any => unknown (#​2371) (e7528e6)
  • typescript-estree: support TSv4 labelled tuple members (#​2378) (00d84ff)

v3.8.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-implied-eval] don't report when Function is imported (#​2348) (fa169e7)
  • eslint-plugin: [no-unsafe-assignment] fix typo in message (#​2347) (2027bb1)
Features
  • eslint-plugin: [naming-convention] allow specifying an array of selectors (#​2335) (3ef6bd5)
  • eslint-plugin: add prefer-enum-initializers rule (#​2326) (4f38ea3)

3.7.1 (2020-07-27)

Bug Fixes
  • eslint-plugin: [adjacent-overload-signatures] fix false positive on call signatures and a method named call (#​2313) (30fafb0)
  • eslint-plugin: [no-extra-parens] stop reporting on calling generic functions with one argument and type parameters containing parentheses (#​2319) (616a841)
  • typescript-estree: correct AST regression introduced by TS4.0 upgrade (#​2316) (d7fefba)

v3.7.1

Compare Source

Bug Fixes
  • eslint-plugin: [adjacent-overload-signatures] fix false positive on call signatures and a method named call (#​2313) (30fafb0)
  • eslint-plugin: [no-extra-parens] stop reporting on calling generic functions with one argument and type parameters containing parentheses (#​2319) (616a841)
  • typescript-estree: correct AST regression introduced by TS4.0 upgrade (#​2316) (d7fefba)

v3.7.0

Compare Source

Features
  • eslint-plugin: [naming-convention] allow selecting only const variables (#​2291) (156d058)
  • eslint-plugin: [no-empty-function] add decoratedFunctions option (#​2295) (88f08f4)
  • typescript-estree: support short-circuiting assignment operators (#​2307) (2c90d9f)
  • typescript-estree: support type annotations on catch clauses (#​2306) (b5afe9c)

3.6.1 (2020-07-13)

Bug Fixes
  • eslint-plugin: [no-unnecessary-condition] handle computed member access (#​2288) (3a187ca)
  • eslint-plugin: [prefer-literal-enum-member] allow negative numbers (#​2277) (00ac9c3)
  • eslint-plugin: [space-before-function-paren] incorrect handling of abstract methods (#​2275) (ced6591), closes #​2274
  • eslint-plugin: [switch-exhaustiveness-check] handle special characters in enum keys (#​2207) (98ab010)

v3.6.1

Compare Source

Bug Fixes
  • eslint-plugin: [no-unnecessary-condition] handle computed member access (#​2288) (3a187ca)
  • eslint-plugin: [prefer-literal-enum-member] allow negative numbers (#​2277) (00ac9c3)
  • eslint-plugin: [space-before-function-paren] incorrect handling of abstract methods (#​2275) (ced6591), closes #​2274
  • eslint-plugin: [switch-exhaustiveness-check] handle special characters in enum keys (#​2207) (98ab010)

v3.6.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-namespace] allow namespaces in nested declarations with allowDeclarations (#​2238) (c1df669)
  • eslint-plugin: [space-before-function-paren] handle abstract functions (#​2199) (88a3edf)
Features

v3.5.0

Compare Source

Bug Fixes
  • eslint-plugin: [naming-convention] support unicode in regex (#​2241) (5fdd21a)
  • typescript-estree: forward compatibility for new compound assignment operators (#​2253) (ba41680)
Features

v3.4.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-base-to-string] handle intersection types (#​2170) (9cca3a9)
  • eslint-plugin: [unbound-method] handling destructuring (#​2228) (c3753c2)
  • experimental-utils: correct types for TS versions older than 3.8 (#​2217) (5e4dda2)
  • experimental-utils: getParserServices takes a readonly context (#​2235) (26da8de)
Features
  • eslint-plugin: [no-unnecessary-boolean-literal-compare] add option to check nullable booleans (#​1983) (c0b3057)
  • eslint-plugin: add extension rule no-loss-of-precision (#​2196) (535b0f2)

v3.3.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-unused-expressions] handle ternary and short-circuit options (#​2194) (ee9f100)
  • typescript-estree: handle TS4.0 breaking change in TupleType (#​2197) (5d68129)
Features
  • eslint-plugin: [naming-convention] better error message and docs for prefix/suffix (#​2195) (a2ffe55)

v3.2.0

Compare Source

Bug Fixes
  • eslint-plugin: [explicit-module-boundary-types] dont report return type errors on constructor overloads (#​2158) (53232d7)
  • eslint-plugin: [explicit-module-boundary-types] handle bodyless arrow functions with explicit return types that return functions (#​2169) (58db655)
  • eslint-plugin: [explicit-module-boundary-types] handle nested functions and functions expressions in a typed variable declaration (#​2176) (6ff450d)
  • eslint-plugin: [no-extra-non-null-assertion] dont report for assertions not followed by the optional chain (#​2167) (e4c1834)
  • eslint-plugin: [no-unnecessary-conditionals] Handle comparison of generics and loose comparisons with undefined values (#​2152) (c86e2a2)
  • eslint-plugin: [prefer-optional-chain] handling first member expression (#​2156) (de18660)
  • eslint-plugin: [return-await] correct handling of ternaries (#​2168) (fe4c0bf)
Features
  • eslint-plugin: [naming-convention] put identifiers in quotes in error messages (#​2182) (fc61932), closes #​2178
  • eslint-plugin: [require-array-sort-compare] add ignoreStringArrays option (#​1972) (6dee784)
  • eslint-plugin: add rule ban-tslint-comment (#​2140) (43ee226)
  • eslint-plugin: add rule no-confusing-non-null-assertion (#​1941) (9b51c44)

v3.1.0

Compare Source

Bug Fixes
  • eslint-plugin: [explicit-module-boundary-types] don't check returned functions if parent function has return type (#​2084) (d7d4eeb)
  • eslint-plugin: [no-unnecessary-condition] handle comparison of any, unknown and loose comparisons with nullish values (#​2123) (1ae1d01)
  • eslint-plugin: [no-unnecessary-condition] improve optional chain handling (#​2111) (9ee399b)
  • eslint-plugin: [no-unnecessary-condition] improve optional chain handling 2 - electric boogaloo (#​2138) (c87cfaf)
  • eslint-plugin: [no-unused-expressions] ignore import expressions (#​2130) (e383691)
  • eslint-plugin: [no-var-requires] false negative for TSAsExpression and MemberExpression (#​2139) (df95338)
  • experimental-utils: downlevel type declarations for versions older than 3.8 (#​2133) (7925823)
Features
  • eslint-plugin: [ban-ts-comments] add "allow-with-description" option (#​2099) (8a0fd18)
  • eslint-plugin: [ban-types] allow selective disable of default options with false value (#​2137) (1cb8ca4)
  • eslint-plugin: [explicit-module-boundary-types] improve accuracy and coverage (#​2135) (caaa859)

3.0.2 (2020-05-27)

Bug Fixes

3.0.1 (2020-05-25)

Bug Fixes

v3.0.2

Compare Source

Bug Fixes

v3.0.1

Compare Source

Bug Fixes

v3.0.0

Compare Source

Please see the release notes for v3.0.0

Bug Fixes
  • eslint-plugin: [dot-notation] fix typo in schema (#​2040) (242328f)
  • eslint-plugin: correct parser peerDep version (fe59f69)
  • experimental-utils: add back SourceCode.isSpaceBetweenTokens (ae82ea4)
  • typescript-estree: remove now defunct Import node type (f199cbd)
  • typescript-estree: use TSEmptyBodyFunctionExpression for body-less nodes (#​1289) (82e7163)
Features
  • add index files to parser and typescript-estree (3dfc46d)
  • eslint-plugin: [no-floating-promises] ignore void operator by default (#​2003) (3626a67)
  • eslint-plugin: [no-unnecessary-condition] remove checkArrayPredicates and always check it (#​1579) (bfd9b60)
  • eslint-plugin: [no-unnecessary-condition] report when non-nullish is compared to null/undefined (#​1659) (7fa9060)
  • eslint-plugin: [prefer-nullish-coalescing][prefer-optional-chain] remove unsafe fixers (52b6085)
  • eslint-plugin: [restrict-template-expressions] allowNumber: true by default (#​2005) (643ec24)
  • eslint-plugin: [restrict-template-expressions] rename allowNullable to allowNullish (#​2006) (264b017)
  • experimental-utils: upgrade eslint types for v7 (#​2023) (06869c9)
  • bump minimum required TS version (#​2004) (7ad4d7c)
  • upgrade to ESLint v7 (#​2022) (208de71)
  • eslint-plugin: [ban-types] rework default options (#​848) (8e31d5d)
  • eslint-plugin: [no-unnecessary-condition] remove option ignoreRHS (#​1163) (ee8dd8f)
  • eslint-plugin: [strict-boolean-expression] rework options (#​1631) (cd14482)
  • eslint-plugin: delete deprecated rules (#​2002) (da0aec2)
  • eslint-plugin: eslint-recommended: disable no-func-assign (#​984) (ae9b8a9)
  • eslint-plugin: eslint-recommended: disable no-obj-calls (#​1000) (b9ca14c)
  • eslint-plugin: update eslint-recommended set (#​1996) (9a96e18)
  • eslint-plugin: update recommended sets (#​2001) (0126b4f)
  • typescript-estree: align nodes with estree 2020 (#​1389) (aff5b62)
  • typescript-estree: align optional fields (#​1429) (0e0010f)
  • drop support for node v8 (#​1997) (b6c3b7b)
  • typescript-estree: always return parserServices (#​716) (5b23443)
  • typescript-estree: handle 3.9's non-null assertion changes (#​2036) (06bec63)

Renovate configuration

📅 Schedule: "before 3am on Friday" (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.

@changeset-bot
Copy link

changeset-bot bot commented Jul 31, 2020

💥 No Changeset

Latest commit: fc1c382

Merging this PR will not cause any packages to be released. If these changes should not cause updates to packages in this repo, this is fine 🙂

If these changes should be published to npm, 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

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Jul 31, 2020

Binary Size Report

Affected SDKs

  • @firebase/functions

    Type Base (96076f0) Head (85ea011) Diff
    browser 9.64 kB 9.66 kB +17 B (+0.2%)
    esm2017 7.30 kB 7.31 kB +17 B (+0.2%)
    main 9.67 kB 9.69 kB +17 B (+0.2%)
    module 9.45 kB 9.46 kB +17 B (+0.2%)
  • @firebase/rules-unit-testing

    Type Base (96076f0) Head (85ea011) Diff
    main 7.24 kB 7.28 kB +37 B (+0.5%)
  • @firebase/storage

    Type Base (96076f0) Head (85ea011) Diff
    esm2017 54.9 kB 54.9 kB -37 B (-0.1%)
    main 61.3 kB 61.3 kB -37 B (-0.1%)
    module 61.1 kB 61.1 kB -37 B (-0.1%)
  • firebase

    Type Base (96076f0) Head (85ea011) Diff
    firebase-functions.js 9.88 kB 9.90 kB +17 B (+0.2%)
    firebase-storage.js 39.9 kB 39.8 kB -37 B (-0.1%)
    firebase.js 823 kB 823 kB -20 B (-0.0%)

Test Logs

@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from 9f37cf6 to 08a8275 Compare August 10, 2020 17:07
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from 2aac677 to 612931b Compare August 17, 2020 17:27
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 612931b to c674d4b Compare August 24, 2020 17:07
@renovate renovate bot changed the title Update typescript-eslint monorepo to v3 (major) Update typescript-eslint monorepo (major) Aug 24, 2020
@google-oss-bot
Copy link
Contributor

google-oss-bot commented Aug 24, 2020

Size Analysis Report

Affected Products

@firebase/functions-exp

  • getFunctions

    Size

    Type Base (96076f0) Head (85ea011) Diff
    size 1.81 kB 1.83 kB +17 B (+0.9%)
    size_with_ext_deps 5.64 kB 5.66 kB +17 B (+0.3%)
  • httpsCallable

    Size

    Type Base (96076f0) Head (85ea011) Diff
    size 5.18 kB 5.20 kB +17 B (+0.3%)
    size_with_ext_deps 9.72 kB 9.73 kB +17 B (+0.2%)
  • useFunctionsEmulator

    Size

    Type Base (96076f0) Head (85ea011) Diff
    size 1.78 kB 1.80 kB +17 B (+1.0%)
    size_with_ext_deps 5.57 kB 5.59 kB +17 B (+0.3%)

Test Logs

@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from c674d4b to cb1d505 Compare August 24, 2020 17:29
@renovate renovate bot changed the title Update typescript-eslint monorepo (major) Update typescript-eslint monorepo to v3 (major) Aug 24, 2020
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from cb1d505 to 7cc5836 Compare August 25, 2020 10:40
@Feiyang1 Feiyang1 merged commit 9611fd7 into master Aug 25, 2020
@Feiyang1 Feiyang1 deleted the renovate/major-typescript-eslint-monorepo branch August 25, 2020 18:24
@firebase firebase locked and limited conversation to collaborators Sep 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants