Skip to content

chore(deps): update linting

This MR contains the following updates:

Package Type Update Change
@typescript-eslint/eslint-plugin devDependencies minor ^5.45.1 -> ^5.47.1
@typescript-eslint/parser devDependencies minor ^5.45.1 -> ^5.47.1
eslint (source) devDependencies minor ^8.29.0 -> ^8.31.0
prettier (source) devDependencies patch ^2.8.0 -> ^2.8.1

MR created with the help of gitlab-org/frontend/renovate-gitlab-bot


Release Notes

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

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)
typescript-eslint/typescript-eslint (@​typescript-eslint/parser)

v5.47.1

Compare Source

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

v5.47.0

Compare Source

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

5.46.1 (2022-12-12)

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

v5.46.1

Compare Source

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

v5.46.0

Compare Source

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

5.45.1 (2022-12-05)

Bug Fixes
  • parser: remove the jsx option requirement for automatic jsx pragma resolution (#​6134) (e777f5e)
eslint/eslint

v8.31.0

Compare Source

Features

  • 52c7c73 feat: check assignment patterns in no-underscore-dangle (#​16693) (Milos Djermanovic)
  • b401cde feat: add options to check destructuring in no-underscore-dangle (#​16006) (Morten Kaltoft)
  • 30d0daf feat: group properties with values in parentheses in key-spacing (#​16677) (Francesco Trotta)

Bug Fixes

  • 35439f1 fix: correct syntax error in prefer-arrow-callback autofix (#​16722) (Francesco Trotta)
  • 87b2470 fix: new instance of FlatESLint should load latest config file version (#​16608) (Milos Djermanovic)

Documentation

Chores

v8.30.0

Compare Source

Features

Bug Fixes

  • 1a327aa fix: Ensure flat config unignores work consistently like eslintrc (#​16579) (Nicholas C. Zakas)
  • 9b8bb72 fix: autofix recursive functions in no-var (#​16611) (Milos Djermanovic)

Documentation

Chores

prettier/prettier

v2.8.1

Compare Source

diff

Fix SCSS map in arguments (#​9184 by @​agamkrbit)
// Input
$display-breakpoints: map-deep-merge(
  (
    "print-only": "only print",
    "screen-only": "only screen",
    "xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, "sm")-1})",
  ),
  $display-breakpoints
);

// Prettier 2.8.0
$display-breakpoints: map-deep-merge(
  (
    "print-only": "only print",
    "screen-only": "only screen",
    "xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, " sm
      ")-1})",
  ),
  $display-breakpoints
);

// Prettier 2.8.1
$display-breakpoints: map-deep-merge(
  (
    "print-only": "only print",
    "screen-only": "only screen",
    "xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, "sm")-1})",
  ),
  $display-breakpoints
);
Support auto accessors syntax (#​13919 by @​sosukesuzuki)

Support for Auto Accessors Syntax landed in TypeScript 4.9.

(Doesn't work well with babel-ts parser)

class Foo {
  accessor foo: number = 3;
}

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 MR becomes conflicted, or you tick the rebase/retry checkbox.

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


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Edited by GitLab Dependency Bot

Merge request reports