Skip to content
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

Update linters #157

Merged
merged 1 commit into from
May 21, 2023
Merged

Update linters #157

merged 1 commit into from
May 21, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 1, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@typescript-eslint/eslint-plugin 5.30.7 -> 5.59.6 age adoption passing confidence
@typescript-eslint/parser 5.30.7 -> 5.59.6 age adoption passing confidence
eslint (source) 8.20.0 -> 8.40.0 age adoption passing confidence
eslint-config-prettier 8.5.0 -> 8.8.0 age adoption passing confidence
eslint-plugin-react 7.30.1 -> 7.32.2 age adoption passing confidence
prettier (source) 2.7.1 -> 2.8.8 age adoption passing confidence

Release Notes

typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)

v5.59.6

Compare Source

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.59.5

Compare Source

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.59.2

Compare Source

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.59.1

Compare Source

Bug Fixes
  • eslint-plugin: [prefer-regexp-exec] skip malformed regexes (#​6935) (05ed60e)
  • eslint-plugin: [unified-signatures] no parameters function (#​6940) (2970861)

v5.59.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-unnecessary-condition] allow nullish coalescing for naked type parameter (#​6910) (3e5f858)
Features
  • eslint-plugin: [ban-types] add NonNullable suggestion and allow custom suggestions (#​6876) (ff65235)

v5.58.0

Compare Source

Bug Fixes
  • eslint-plugin: [unified-signatures] allow overloads with different named and different number of parameters (#​6877) (939d665)
Features

5.57.1 (2023-04-03)

Bug Fixes
  • eslint-plugin: [strict-boolean-expressions] support mixed enums in allowNullableEnum option (#​6740) (49be8a8)

v5.57.1

Compare Source

Bug Fixes
  • eslint-plugin: [strict-boolean-expressions] support mixed enums in allowNullableEnum option (#​6740) (49be8a8)

v5.57.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-unnecessary-boolean-literal-compare] simplify fixer and add support for double negation (#​6620) (81c8519)
  • eslint-plugin: correct crashes with getTypeArguments for ts < 3.7 (#​6767) (59eab58)
Features
  • eslint-plugin: [consistent-type-assertions] add suggestions for objectLiteralTypeAssertions (#​6642) (720e811)
  • eslint-plugin: [consistent-type-assertions] autofix angle bracket assertions to as (#​6641) (ad8ea64)
  • eslint-plugin: add no-duplicate-type-constituents rule (#​5728) (bc31078)

v5.56.0

Compare Source

Bug Fixes
  • eslint-plugin: [member-ordering] check order when optionalityOrder is present with no optional members (#​6619) (6aff431)
  • eslint-plugin: [no-misused-promises] avoid unnecessary calls to getContextualType (#​6193) (745cfe4)
  • eslint-plugin: [no-misused-promises] fix incorrect detection of void functions in JSX attributes (#​6638) (9e41cee)
  • eslint-plugin: [strict-boolean-expression] support falsy and truthy literals simultaneously (#​6672) (62ef487)
  • eslint-plugin: [strict-boolean-expressions] handle truthy enums (#​6618) (0d0639f)
  • eslint-plugin: add TSPropertySignature with TSFunctionType annotation to typeMethod selector (#​6645) (3fc5c63)
Features
  • eslint-plugin: add allowNever support to restrict-template-expressions (#​6554) (423f164)

v5.55.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-confusing-void-expression] check sequence expressions for void is in last position (#​6597) (d73d7d3)
  • eslint-plugin: [no-unnecessary-boolean-literal-compare] fixer should handle parentheses (#​6569) (2d8c196)
Features

5.54.1 (2023-03-06)

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.54.1

Compare Source

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.54.0

Compare Source

Features
  • eslint-plugin: [promise-function-async] check for promises in implicit return types (#​6330) (de1e5ce), closes #​6329

v5.53.0

Compare Source

Features
  • eslint-plugin: [consistent-generic-constructors] handle default parameters (#​6484) (e8cebce)
  • eslint-plugin: [no-mixed-enums] add rule (#​6102) (16144d1)

v5.52.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-import-type-side-effects] correctly ignore zero-specifier imports (#​6444) (d5a6688)
  • eslint-plugin: [no-unnecessary-condition] account for optional chaining on potentially void values (#​6432) (e1d9c67), closes #​5255
  • eslint-plugin: [no-unnecessary-condition] fix false positive when checking indexed access types (#​6452) (d569924)
  • eslint-plugin: fix key-spacing when type starts on next line (#​6412) (3eb2eed)
Features
  • eslint-plugin: [block-spacing] extending base rule for TS related blocks (#​6195) (b2db3f5)
  • eslint-plugin: [explicit-function-return-type] add allowFunctionsWithoutTypeParameters option (#​6105) (113640e)
  • eslint-plugin: [explicit-function-return-type] add allowIIFEs option (#​6237) (a1b3f7b)

v5.51.0

Compare Source

Bug Fixes
Features
  • eslint-plugin: [naming-convention] improve performance by removing unnecessary selectors (#​6376) (3647a1c)
  • eslint-plugin: [no-floating-promises] error on logical expression (#​6356) (f330e06)
  • eslint-plugin: [no-import-type-side-effects] add rule to warn against runtime side effects with verbatimModuleSyntax (#​6394) (b14d3be)
  • eslint-plugin: [strict-boolean-expressions] add allow nullable enum to strict boolean expressions (#​6096) (d4747cd)

v5.50.0

Compare Source

Bug Fixes
  • eslint-plugin: [ban-ts-comment] counts graphemes instead of String.prototype.length (#​5704) (09d57ce)
  • eslint-plugin: [prefer-optional-chain] fix ThisExpression and PrivateIdentifier errors (#​6028) (85e783c)
  • eslint-plugin: [prefer-optional-chain] fixer produces wrong logic (#​5919) (b0f6c8e), closes #​1438
Features
  • eslint-plugin: add key-spacing rule extension for interface & type declarations (#​6211) (67706e7)

v5.49.0

Compare Source

Features
  • eslint-plugin: [naming-convention] add support for #private modifier on class members (#​6259) (c8a6d80)

5.48.2 (2023-01-16)

Note: Version bump only for package @​typescript-eslint/eslint-plugin

5.48.1 (2023-01-09)

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.48.2

Compare Source

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.48.1

Compare Source

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.48.0

Compare Source

Features
  • eslint-plugin: specify which method is unbound and added test case (#​6281) (cf3ffdd)

5.47.1 (2022-12-26)

Bug Fixes
  • ast-spec: correct some incorrect ast types (#​6257) (0f3f645)
  • eslint-plugin: [member-ordering] correctly invert optionalityOrder (#​6256) (ccd45d4)

v5.47.1

Compare Source

Bug Fixes
  • ast-spec: correct some incorrect ast types (#​6257) (0f3f645)
  • eslint-plugin: [member-ordering] correctly invert optionalityOrder (#​6256) (ccd45d4)

v5.47.0

Compare Source

Features
  • eslint-plugin: [no-floating-promises] add suggestion fixer to add an 'await' (#​5943) (9e35ef9)

5.46.1 (2022-12-12)

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.46.1

Compare Source

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.46.0

Compare Source

Bug Fixes
  • eslint-plugin: [ban-types] update message to suggest object instead of Record<string, unknown> (#​6079) (d91a5fc)
Features
  • eslint-plugin: [prefer-nullish-coalescing] logic and test for strict null checks (#​6174) (8a91cbd)

5.45.1 (2022-12-05)

Bug Fixes
  • eslint-plugin: [keyword-spacing] unexpected space before/after in import type (#​6095) (98caa92)
  • eslint-plugin: [no-shadow] add call and method signatures to ignoreFunctionTypeParameterNameValueShadow (#​6129) (9d58b6b)
  • eslint-plugin: [prefer-optional-chain] collect MetaProperty type (#​6083) (d7114d3)
  • eslint-plugin: [sort-type-constituents, sort-type-union-intersection-members] handle some required parentheses cases in the fixer (#​6118) (5d49d5d)

v5.45.1

Compare Source

Bug Fixes
  • eslint-plugin: [keyword-spacing] unexpected space before/after in import type (#​6095) (98caa92)
  • eslint-plugin: [no-shadow] add call and method signatures to ignoreFunctionTypeParameterNameValueShadow (#​6129) (9d58b6b)
  • eslint-plugin: [prefer-optional-chain] collect MetaProperty type (#​6083) (d7114d3)
  • eslint-plugin: [sort-type-constituents, sort-type-union-intersection-members] handle some required parentheses cases in the fixer (#​6118) (5d49d5d)

v5.45.0

Compare Source

Bug Fixes
  • eslint-plugin: [array-type] --fix flag removes parentheses from type (#​5997) (42b33af)
  • eslint-plugin: [keyword-spacing] prevent crash on no options (#​6073) (1f19998)
  • eslint-plugin: [member-ordering] support private fields (#​5859) (f02761a)
  • eslint-plugin: [prefer-readonly] report if a member's property is reassigned (#​6043) (6e079eb)
Features
  • eslint-plugin: [member-ordering] add a required option for required vs. optional member ordering (#​5965) (2abadc6)

v5.44.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-empty-interface] disable autofix for declaration merging with class (#​5920) (a4f85b8)
  • eslint-plugin: [no-unnecessary-condition] handle index signature type (#​5912) (5baad08)
  • eslint-plugin: [prefer-optional-chain] handle binary expressions in negated or (#​5992) (2778ff0)
  • typescript-estree: don't consider a cached program unless it's specified in the current parserOptions.project config (#​5999) (530e0e6)
Features
  • eslint-plugin: [adjacent-overload-signatures] check BlockStatement nodes (#​5998) (97d3e56)
  • eslint-plugin: [keyword-spacing] Support spacing in import-type syntax (#​5977) (6a735e1)

v5.43.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-shadow] handle false positives on generics and parameters (#​5902) (769e8c8)
  • eslint-plugin: [promise-function-async] handle keyword token (#​5907) (f25a94f)
Features
  • eslint-plugin: [consistent-type-imports] support fixing to inline types (#​5050) (75dcdf1)
  • eslint-plugin: [naming-convention] add support for "override" and "async" modifiers (#​5310) (#​5610) (c759da1)
  • eslint-plugin: [prefer-optional-chain] support suggesting !foo || !foo.bar as a valid match for the rule (#​5594) (923d486)

5.42.1 (2022-11-07)

Bug Fixes

v5.42.1

Compare Source

Bug Fixes

v5.42.0

Compare Source

Bug Fixes
  • ast-spec: add TSQualifiedName to TypeNode union (#​5906) (5c316c1)
  • eslint-plugin: [no-extra-parens] handle type assertion in extends clause (#​5901) (8ed7219)
Features
  • eslint-plugin: [member-ordering] add natural sort order (#​5662) (1eaae09)
  • eslint-plugin: [no-invalid-void-type] better report message for void used as a constituent inside a function return type (#​5274) (d806bda)

v5.41.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-base-to-string] ignore Error, URL, and URLSearchParams by default (#​5839) (96e1c6c)
  • type-utils: prevent stack overflow in isTypeReadonly (#​5860) (a6d8f7e), closes #​4476
Features
  • eslint-plugin: [no-unsafe-declaration-merging] switch to use scope analysis instead of type information (#​5865) (e70a10a)
  • eslint-plugin: add no-unsafe-declaration-merging (#​5840) (3728031)

5.40.1 (2022-10-17)

Bug Fixes
  • eslint-plugin: Skip missing 'rest' tuple type arguments in no-misused-promises (#​5809) (c5beaa2), closes #​5807

v5.40.1

Compare Source

Bug Fixes
  • eslint-plugin: Skip missing 'rest' tuple type arguments in no-misused-promises (#​5809) (c5beaa2), closes #​5807

v5.40.0

Compare Source

Bug Fixes
  • eslint-plugin: [consistent-indexed-object-style] handle interface generic (#​5746) (7a8a0a3)
  • eslint-plugin: [no-unnecessary-condition] handle void (#​5766) (ac8f06b)
Features

v5.39.0

Compare Source

Features
  • eslint-plugin: allow using void as a default type for a generic argument if allowInGenericTypeArguments is specified (#​5671) (bb46ef0)

5.38.1 (2022-09-26)

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.38.1

Compare Source

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.38.0

Compare Source

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.37.0

Compare Source

Bug Fixes
  • eslint-plugin: [strict-boolean-expressions] check all conditions in a logical operator chain (#​5539) (77d76e2)

5.36.2 (2022-09-05)

Bug Fixes
  • eslint-plugin: [no-extra-parens] handle generic ts array type. (#​5550) (0d6a190)
  • scope-manager: correct handling for class static blocks (#​5580) (35bb8dd)

5.36.1 (2022-08-30)

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.36.2

Compare Source

Bug Fixes
  • eslint-plugin: [no-extra-parens] handle generic ts array type. (#​5550) (0d6a190)
  • scope-manager: correct handling for class static blocks (#​5580) (35bb8dd)

v5.36.1

Compare Source

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.36.0

Compare Source

Bug Fixes
Features

5.35.1 (2022-08-24)

Bug Fixes
  • eslint-plugin: correct rule schemas to pass ajv validation (#​5531) (dbf8b56)

v5.35.1

Compare Source

Bug Fixes
  • eslint-plugin: correct rule schemas to pass ajv validation (#​5531) (dbf8b56)

v5.35.0

Compare Source

Features
  • eslint-plugin: [explicit-member-accessibility] suggest adding explicit accessibility specifiers (#​5492) (0edb94a)

v5.34.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-useless-constructor] handle parameter decorator (#​5450) (864dbcf)
Features
  • eslint-plugin: [prefer-optional-chain] support suggesting !foo || !foo.bar as a valid match for the rule (#​5266) (aca935c)

5.33.1 (2022-08-15)

Bug Fixes
  • missing placeholders in violation messages for no-unnecessary-type-constraint and no-unsafe-argument (and enable eslint-plugin/recommended rules internally) (#​5453) (d023910)

v5.33.1

Compare Source

Bug Fixes
  • missing placeholders in violation messages for no-unnecessary-type-constraint and no-unsafe-argument (and enable eslint-plugin/recommended rules internally) (#​5453) (d023910)

v5.33.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-extra-parens] handle await with type assertion (#​5428) (e03826f)
  • website: add explicit frontmatter description to rule docs (#​5429) (63cba5f)
Features
  • eslint-plugin: [member-ordering] support static blocks (#​5417) (5983e5a)
  • eslint-plugin: [prefer-as-const] adds support for class properties (#​5413) (d2394f8)

v5.32.0

Compare Source

Features

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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@netlify
Copy link

netlify bot commented Aug 1, 2022

Deploy Preview for operate-first-cloud ready!

Name Link
🔨 Latest commit fdc0354
🔍 Latest deploy log https://app.netlify.com/sites/operate-first-cloud/deploys/646a43968d1e2400081bcaba
😎 Deploy Preview https://deploy-preview-157--operate-first-cloud.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@sesheta sesheta added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Aug 1, 2022
@sesheta
Copy link
Member

sesheta commented Aug 1, 2022

Hi @renovate[bot]. Thanks for your PR.

I'm waiting for a operate-first member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@durandom
Copy link
Member

durandom commented Aug 1, 2022

/ok-to-test

@sesheta sesheta added ok-to-test and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Aug 1, 2022
@renovate renovate bot force-pushed the renovate/linters branch 2 times, most recently from b7175fd to 9bf9319 Compare August 8, 2022 19:27
@sesheta sesheta added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Aug 8, 2022
@renovate renovate bot changed the title Update linters Update linters to v5.33.0 Aug 9, 2022
@renovate renovate bot changed the title Update linters to v5.33.0 Update linters Aug 10, 2022
@renovate renovate bot force-pushed the renovate/linters branch 2 times, most recently from 5ecaa7f to 8ee7e3c Compare August 15, 2022 19:06
@renovate renovate bot force-pushed the renovate/linters branch 5 times, most recently from 3e0a097 to a104a64 Compare August 27, 2022 00:39
@sesheta sesheta added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Aug 27, 2022
@renovate renovate bot force-pushed the renovate/linters branch 8 times, most recently from 19b1c7a to 3a2dbbf Compare September 5, 2022 19:00
@renovate renovate bot force-pushed the renovate/linters branch 3 times, most recently from 51a9fca to 1d8f192 Compare March 23, 2023 17:46
@renovate renovate bot force-pushed the renovate/linters branch 4 times, most recently from a31bb1d to f75e437 Compare March 30, 2023 17:28
@renovate renovate bot force-pushed the renovate/linters branch 2 times, most recently from 784a4ae to 38d6840 Compare April 6, 2023 21:25
@renovate renovate bot force-pushed the renovate/linters branch 2 times, most recently from 88c26d1 to c1e441c Compare April 13, 2023 20:14
@renovate renovate bot force-pushed the renovate/linters branch 3 times, most recently from f311d76 to 4d95ca1 Compare April 26, 2023 12:56
@renovate renovate bot force-pushed the renovate/linters branch from 4d95ca1 to e92707c Compare April 27, 2023 22:59
@sesheta
Copy link
Member

sesheta commented Apr 27, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign cfchase for approval by writing /assign @cfchase in a comment. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@renovate renovate bot force-pushed the renovate/linters branch 2 times, most recently from d1d68a9 to 455a78f Compare May 8, 2023 21:35
@renovate renovate bot force-pushed the renovate/linters branch from 455a78f to 97f8013 Compare May 11, 2023 18:47
@sesheta
Copy link
Member

sesheta commented May 11, 2023

@renovate[bot]: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
aicoe-ci/prow/pre-commit 97f8013 link true /test pre-commit

Full PR test history. Your PR dashboard. Please help us and open an issue when you hit one in your PR.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@renovate renovate bot force-pushed the renovate/linters branch from 97f8013 to 990bac0 Compare May 18, 2023 19:32
Signed-off-by: Renovate Bot <bot@renovateapp.com>
@renovate renovate bot force-pushed the renovate/linters branch from 990bac0 to fdc0354 Compare May 21, 2023 16:15
@goern
Copy link
Member

goern commented May 21, 2023

/test all

@goern
Copy link
Member

goern commented May 21, 2023

/lgtm
/approve

@op1st-prow op1st-prow bot added the lgtm Indicates that a PR is ready to be merged. label May 21, 2023
@op1st-prow
Copy link

op1st-prow bot commented May 21, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: goern
Once this PR has been reviewed and has the lgtm label, please assign cfchase for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@goern goern merged commit 0c7bb28 into main May 21, 2023
@goern goern deleted the renovate/linters branch May 21, 2023 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged. ok-to-test size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants