Skip to content

Commit

Permalink
Update typescript-eslint monorepo to v7 (major) (#518)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@typescript-eslint/eslint-plugin](https://typescript-eslint.io/packages/eslint-plugin)
([source](https://togithub.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin))
| [`5.62.0` ->
`7.7.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/5.62.0/7.7.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2feslint-plugin/7.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2feslint-plugin/7.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2feslint-plugin/5.62.0/7.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2feslint-plugin/5.62.0/7.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@typescript-eslint/parser](https://typescript-eslint.io/packages/parser)
([source](https://togithub.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser))
| [`5.62.0` ->
`7.7.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/5.62.0/7.7.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2fparser/7.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2fparser/7.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2fparser/5.62.0/7.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2fparser/5.62.0/7.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[eslint-config-airbnb-typescript](https://togithub.com/iamturns/eslint-config-airbnb-typescript)
| [`17.1.0` ->
`18.0.0`](https://renovatebot.com/diffs/npm/eslint-config-airbnb-typescript/17.1.0/18.0.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-config-airbnb-typescript/18.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-config-airbnb-typescript/18.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-config-airbnb-typescript/17.1.0/18.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-config-airbnb-typescript/17.1.0/18.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>typescript-eslint/typescript-eslint
(@&#8203;typescript-eslint/eslint-plugin)</summary>

###
[`v7.7.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#770-2024-04-15)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.6.0...v7.7.0)

##### 🚀 Features

- **eslint-plugin:** replace `no-new-symbol` with
`no-new-native-nonconstructor`

##### ❤️  Thank You

-   Dave
-   Josh Goldberg ✨

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v7.6.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#760-2024-04-08)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.5.0...v7.6.0)

##### 🚀 Features

-   bump npm dependency ranges

##### ❤️  Thank You

-   Abraham Guo
-   auvred
-   Brad Zacher

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v7.5.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#750-2024-04-01)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.4.0...v7.5.0)

##### 🩹 Fixes

- **eslint-plugin:** \[no-floating-promises] handle
TaggedTemplateExpression

- **eslint-plugin:** \[no-unnecessary-type-assertion] handle
exactOptionalPropertyTypes compiler option

##### ❤️  Thank You

-   Brad Zacher
-   Kim Sang Du
-   Mark de Dios
-   Naru
-   YeonJuan

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v7.4.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#740-2024-03-25)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.3.1...v7.4.0)

##### 🚀 Features

- **eslint-plugin:** \[consistent-type-imports] ignore files with
decorators, experimentalDecorators, and emitDecoratorMetadata

- **eslint-plugin:** \[no-unnecessary-type-arguments] handle tagged
templates

- **eslint-plugin:** deprecate no-throw-literal and add a renamed
only-throw-error

##### 🩹 Fixes

- **eslint-plugin:** \[prefer-optional-chain] address multipart nullish
checks false positive

- **eslint-plugin:** \[prefer-optional-chain] properly disambiguate
between `boolean` and `false`

- **eslint-plugin:** \[no-unnecessary-type-assertion] avoid remove const
casting on template literals with expressions inside

##### ❤️  Thank You

-   Abraham Guo
-   Brad Zacher
-   Josh Goldberg ✨
-   Kim Sang Du
-   Kirk Waiblinger
-   Marco Pasqualetti
-   YeonJuan

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v7.3.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#731-2024-03-18)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.3.0...v7.3.1)

##### 🩹 Fixes

- **eslint-plugin:** \[no-floating-promises] revert disable of
ignoreVoid in strict config

##### ❤️  Thank You

-   Josh Goldberg ✨

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v7.3.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#730-2024-03-18)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.2.0...v7.3.0)

##### 🚀 Features

- **eslint-plugin:** \[restrict-template-expressions] add `allowArray`
option

- **eslint-plugin:** add meta.docs.recommended setting for strict config
options

- **eslint-plugin:** add rule `use-unknown-in-catch-callback-variables`

- **eslint-plugin:** \[prefer-reduce-type-parameter] supports tuple,
union, intersection

##### 🩹 Fixes

-   correct `engines.node` constraints in `package.json`

- **eslint-plugin:** \[unbound-method] check method definition in object
literal using longhand form

- **eslint-plugin:** \[consistent-type-imports] handle imports without
specifiers

- **eslint-plugin:** \[no-redundant-type-constituents] incorrectly marks
& string as redundant

- **eslint-plugin:** \[no-unnecessary-qualifier] handle merge namespace
with enum

- **eslint-plugin:** \[no-unused-expressions] false negatives when using
assertions

- **eslint-plugin:** \[ban-ts-comment] more accurate handling of
multiline comments

- **eslint-plugin:** \[explicit-function-return-type,
explicit-module-boundary-types] improved checking for
allowHigherOrderFunctions option

- **eslint-plugin:** \[class-literal-property-style] ignore property
assigned in constructor

- **eslint-plugin:** \[no-unnecessary-type-assertion] fix false negative
for const variable declarations

##### ❤️  Thank You

-   Abraham Guo
-   Alexu
-   Arka Pratim Chaudhuri
-   auvred
-   Derrick Isaacson
-   fnx
-   Josh Goldberg ✨
-   Kirk Waiblinger
-   Marta Cardoso
-   Michaël De Boey
-   Tristan Rasmussen
-   YeonJuan

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v7.2.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#720-2024-03-11)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.1.1...v7.2.0)

##### 🚀 Features

-   support TS 5.4

- **eslint-plugin:** \[prefer-string-starts-ends-with] add
allowSingleElementEquality option

##### 🩹 Fixes

-   **eslint-plugin:** expose \*-type-checked-only configs for extension

- **eslint-plugin:** \[member-ordering] report alphabetical sorting for
all groups instead of just the first failing group

- **eslint-plugin:** \[no-var-requires, no-require-imports] support
template literal

- **eslint-plugin:** \[no-useless-template-literals] detect
TemplateLiteral

- **eslint-plugin:** \[no-unnecessary-condition] handle union array and
tuple type

- **eslint-plugin:** \[prefer-find] support ternary branches in
prefer-find

##### ❤️  Thank You

-   Arka Pratim Chaudhuri
-   auvred
-   Chris Plummer
-   Fotis Papadogeorgopoulos
-   Josh Goldberg ✨
-   Kirk Waiblinger
-   Wayne Zhang
-   YeonJuan

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v7.1.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#711-2024-03-04)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.1.0...v7.1.1)

This was a version bump only for eslint-plugin to align it with other
projects, there were no code changes.

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v7.1.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#710-2024-02-26)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.0.2...v7.1.0)

##### 🚀 Features

-   **eslint-plugin:** add \*-type-checked-only configs

- **eslint-plugin:** \[naming-convention] support the auto-accessor
syntax

-   **eslint-plugin:** \[consistent-return] add new rule

##### 🩹 Fixes

- **eslint-plugin:** \[prefer-optional-chan] allow typeof for avoiding
reference error

-   **eslint-plugin:** \[no-misused-promises] improve check union types

- **eslint-plugin:** \[no-use-before-define] fix false positive type
reference in as, satisfies

##### ❤️  Thank You

-   Arka Pratim Chaudhuri
-   Josh Goldberg ✨
-   YeonJuan

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v7.0.2`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#702-2024-02-19)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.0.1...v7.0.2)

##### 🩹 Fixes

- fix tsconfig-less check errors, fix `@types/eslint` incompatibilities,
add tests

##### ❤️  Thank You

-   Brad Zacher
-   Gareth Jones

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v7.0.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#701-2024-02-12)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.0.0...v7.0.1)

##### 🩹 Fixes

-   **eslint-plugin:** update peer dep for parser

##### ❤️  Thank You

-   Tim Dorr

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v7.0.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#700-2024-02-12)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.21.0...v7.0.0)

##### 🚀 Features

-   ⚠️  bump ESLint, NodeJS, and TS minimum version requirements

-   add support for flat configs

##### 🩹 Fixes

- **eslint-plugin:** \[prefer-find] stop throwing type errors when
converting symbols to numbers

##### ⚠️  Breaking Changes

-   ⚠️  bump ESLint, NodeJS, and TS minimum version requirements

##### ❤️  Thank You

-   Brad Zacher
-   Kirk Waiblinger
-   StyleShit
-   YeonJuan

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

#### 6.21.0 (2024-02-05)

##### 🚀 Features

-   export plugin metadata

-   allow `parserOptions.project: false`

-   **eslint-plugin:** add rule prefer-find

##### 🩹 Fixes

- **eslint-plugin:** \[no-unused-vars] don't report on types referenced
in export assignment expression

- **eslint-plugin:** \[switch-exhaustiveness-check] better support for
intersections, infinite types, non-union values

- **eslint-plugin:** \[consistent-type-imports] dont report on types
used in export assignment expressions

- **eslint-plugin:** \[no-unnecessary-condition] handle left-hand
optional with exactOptionalPropertyTypes option

- **eslint-plugin:** \[class-literal-property-style] allow getter when
same key setter exists

- **eslint-plugin:** \[no-unnecessary-type-assertion] provide valid
fixes for assertions with extra tokens before `as` keyword

##### ❤️  Thank You

-   auvred
-   Brad Zacher
-   Kirk Waiblinger
-   Pete Gonzalez
-   YeonJuan

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

#### 6.20.0 (2024-01-29)

##### 🚀 Features

- **eslint-plugin:** \[member-ordering] allow easy reuse of the default
ordering

##### 🩹 Fixes

- **eslint-plugin:** \[no-useless-template-literals] incorrect bigint
autofix result

- **eslint-plugin:** \[prefer-nullish-coalescing] treat any/unknown as
non-nullable

- **eslint-plugin:** \[no-useless-template-literals] report Infinity &
NaN

-   **eslint-plugin:** \[prefer-readonly] disable checking accessors

##### ❤️  Thank You

-   Alex Parloti
-   auvred
-   James Browning
-   StyleShit
-   YeonJuan

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

#### 6.19.1 (2024-01-22)

##### 🩹 Fixes

- **type-utils:** preventing isUnsafeAssignment infinite recursive calls

- **eslint-plugin:** \[no-unnecessary-condition] fix false positive for
type variable

##### ❤️  Thank You

-   YeonJuan

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

#### 6.19.0 (2024-01-15)

##### 🚀 Features

-   **eslint-plugin:** \[prefer-promise-reject-errors] add rule

-   **eslint-plugin:** \[no-array-delete] add new rule

- **eslint-plugin:** \[no-useless-template-literals] add fix suggestions

##### 🩹 Fixes

- **eslint-plugin:** \[no-unnecessary-type-assertion] detect unnecessary
non-null-assertion on a call expression

- **eslint-plugin:** \[no-unnecesary-type-assertion] treat unknown/any
as nullable

##### ❤️  Thank You

-   auvred
-   Brad Zacher
-   Josh Goldberg ✨
-   Joshua Chen
-   LJX
-   Steven
-   StyleShit

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

#### 6.18.1 (2024-01-08)

##### 🩹 Fixes

- **eslint-plugin:** \[no-non-null-assertion] provide valid fix when
member access is on next line

- **eslint-plugin:** \[no-unnecessary-condition] improve checking
optional callee

- **eslint-plugin:** \[prefer-readonly] support modifiers of unions and
intersections

- **eslint-plugin:** \[switch-exhaustiveness-check] fix new
allowDefaultCaseForExhaustiveSwitch option

##### ❤️  Thank You

-   auvred
-   James
-   Josh Goldberg ✨
-   YeonJuan

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

#### 6.18.0 (2024-01-06)

##### 🚀 Features

-   **typescript-estree:** throw on invalid update expressions

- **eslint-plugin:** \[no-var-requires, no-require-imports] allow option

##### ❤️  Thank You

-   auvred
-   Joshua Chen

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.21.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6210-2024-02-05)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.20.0...v6.21.0)

##### 🚀 Features

-   export plugin metadata

-   allow `parserOptions.project: false`

-   **eslint-plugin:** add rule prefer-find

##### 🩹 Fixes

- **eslint-plugin:** \[no-unused-vars] don't report on types referenced
in export assignment expression

- **eslint-plugin:** \[switch-exhaustiveness-check] better support for
intersections, infinite types, non-union values

- **eslint-plugin:** \[consistent-type-imports] dont report on types
used in export assignment expressions

- **eslint-plugin:** \[no-unnecessary-condition] handle left-hand
optional with exactOptionalPropertyTypes option

- **eslint-plugin:** \[class-literal-property-style] allow getter when
same key setter exists

- **eslint-plugin:** \[no-unnecessary-type-assertion] provide valid
fixes for assertions with extra tokens before `as` keyword

##### ❤️  Thank You

-   auvred
-   Brad Zacher
-   Kirk Waiblinger
-   Pete Gonzalez
-   YeonJuan

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.20.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6200-2024-01-29)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.19.1...v6.20.0)

##### 🚀 Features

- **eslint-plugin:** \[member-ordering] allow easy reuse of the default
ordering

##### 🩹 Fixes

- **eslint-plugin:** \[no-useless-template-literals] incorrect bigint
autofix result

- **eslint-plugin:** \[prefer-nullish-coalescing] treat any/unknown as
non-nullable

- **eslint-plugin:** \[no-useless-template-literals] report Infinity &
NaN

-   **eslint-plugin:** \[prefer-readonly] disable checking accessors

##### ❤️  Thank You

-   Alex Parloti
-   auvred
-   James Browning
-   StyleShit
-   YeonJuan

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.19.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6191-2024-01-22)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.19.0...v6.19.1)

##### 🩹 Fixes

- **type-utils:** preventing isUnsafeAssignment infinite recursive calls

- **eslint-plugin:** \[no-unnecessary-condition] fix false positive for
type variable

##### ❤️  Thank You

-   YeonJuan

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.19.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6190-2024-01-15)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.18.1...v6.19.0)

##### 🚀 Features

-   **eslint-plugin:** \[prefer-promise-reject-errors] add rule

-   **eslint-plugin:** \[no-array-delete] add new rule

- **eslint-plugin:** \[no-useless-template-literals] add fix suggestions

##### 🩹 Fixes

- **eslint-plugin:** \[no-unnecessary-type-assertion] detect unnecessary
non-null-assertion on a call expression

- **eslint-plugin:** \[no-unnecesary-type-assertion] treat unknown/any
as nullable

##### ❤️  Thank You

-   auvred
-   Brad Zacher
-   Josh Goldberg ✨
-   Joshua Chen
-   LJX
-   Steven
-   StyleShit

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.18.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6181-2024-01-08)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.18.0...v6.18.1)

##### 🩹 Fixes

- **eslint-plugin:** \[no-non-null-assertion] provide valid fix when
member access is on next line

- **eslint-plugin:** \[no-unnecessary-condition] improve checking
optional callee

- **eslint-plugin:** \[prefer-readonly] support modifiers of unions and
intersections

- **eslint-plugin:** \[switch-exhaustiveness-check] fix new
allowDefaultCaseForExhaustiveSwitch option

##### ❤️  Thank You

-   auvred
-   James
-   Josh Goldberg ✨
-   YeonJuan

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.18.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6180-2024-01-06)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.17.0...v6.18.0)

##### 🚀 Features

-   **typescript-estree:** throw on invalid update expressions

- **eslint-plugin:** \[no-var-requires, no-require-imports] allow option

##### ❤️  Thank You

-   auvred
-   Joshua Chen

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.17.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6170-2024-01-01)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.16.0...v6.17.0)

##### Bug Fixes

- **eslint-plugin:** \[no-restricted-imports] prevent crash when
`patterns` or `paths` in options are empty
([#&#8203;8108](https://togithub.com/typescript-eslint/typescript-eslint/issues/8108))
([675e987](https://togithub.com/typescript-eslint/typescript-eslint/commit/675e987ca1d13244c03d7e09d4e42c6539689d9a))

##### Features

- **eslint-plugin:** \[no-floating-promises] flag result of .map(async)
([#&#8203;7897](https://togithub.com/typescript-eslint/typescript-eslint/issues/7897))
([5857356](https://togithub.com/typescript-eslint/typescript-eslint/commit/5857356962060b19aa792bee778f9167ee54154b))
- **eslint-plugin:** \[switch-exhaustiveness-check] add an option to
warn against a `default` case on an already exhaustive `switch`
([#&#8203;7539](https://togithub.com/typescript-eslint/typescript-eslint/issues/7539))
([6a219bd](https://togithub.com/typescript-eslint/typescript-eslint/commit/6a219bdfe6fcf86aae28158e0d855f87a8bac719))

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.16.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6160-2023-12-25)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.15.0...v6.16.0)

##### Bug Fixes

- **eslint-plugin:** \[unbound-method] exempt all non-Promise built-in
statics
([#&#8203;8096](https://togithub.com/typescript-eslint/typescript-eslint/issues/8096))
([3182959](https://togithub.com/typescript-eslint/typescript-eslint/commit/31829591e2c5cf6bdbdd5da23b12c5782f710fa5))

##### Features

- **eslint-plugin:** deprecate formatting (meta.type: layout) rules
([#&#8203;8073](https://togithub.com/typescript-eslint/typescript-eslint/issues/8073))
([04dea84](https://togithub.com/typescript-eslint/typescript-eslint/commit/04dea84e8e934a415ec1381a90de3cde670d0dc3))
- **eslint-plugin:** deprecate no-extra-semi in favor of ESLint
Stylistic equivalent
([#&#8203;8123](https://togithub.com/typescript-eslint/typescript-eslint/issues/8123))
([9368bf3](https://togithub.com/typescript-eslint/typescript-eslint/commit/9368bf390afc58a19123782f8dff2bb5cdd3cccc))

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.15.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6150-2023-12-18)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.14.0...v6.15.0)

##### Features

- **eslint-plugin:** \[no-useless-template-literals] add new rule
([#&#8203;7957](https://togithub.com/typescript-eslint/typescript-eslint/issues/7957))
([ff75785](https://togithub.com/typescript-eslint/typescript-eslint/commit/ff75785f4c6cc41999f8ce946bfca469d6e40e50)),
closes
[#&#8203;2846](https://togithub.com/typescript-eslint/typescript-eslint/issues/2846)
- require-array-sort-compare + toSorted
([#&#8203;8052](https://togithub.com/typescript-eslint/typescript-eslint/issues/8052))
([c9661c8](https://togithub.com/typescript-eslint/typescript-eslint/commit/c9661c8bbf048e9fa3ef55985e1e2e82bc098b1a))

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.14.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6140-2023-12-11)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.13.2...v6.14.0)

##### Bug Fixes

- **eslint-plugin:** add no-unsafe-unary-minus, prefer-destructuring to
disable-type-checked
([#&#8203;8038](https://togithub.com/typescript-eslint/typescript-eslint/issues/8038))
([431cd15](https://togithub.com/typescript-eslint/typescript-eslint/commit/431cd1559f91795e958e03fd060ceaf79fb96f3a))
- **eslint-plugin:** correct message for `no-unsafe-unary-minus`
([#&#8203;7998](https://togithub.com/typescript-eslint/typescript-eslint/issues/7998))
([705370a](https://togithub.com/typescript-eslint/typescript-eslint/commit/705370ac0d9c54081657b8855b398e57d6ea4ddb))

##### Features

- **eslint-plugin:** \[explicit-function-return-type] add support for
typed class property definitions
([#&#8203;8027](https://togithub.com/typescript-eslint/typescript-eslint/issues/8027))
([bff47d7](https://togithub.com/typescript-eslint/typescript-eslint/commit/bff47d7885bee3bbcb3a81eff273fe2f48580940))
- **eslint-plugin:** \[require-await] allow yielding Promise in async
generators
([#&#8203;8003](https://togithub.com/typescript-eslint/typescript-eslint/issues/8003))
([4c3e704](https://togithub.com/typescript-eslint/typescript-eslint/commit/4c3e704b97e698df7f72174c2d20714836d4d243))

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

####
[6.13.2](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.13.1...v6.13.2)
(2023-12-04)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

####
[6.13.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.13.0...v6.13.1)
(2023-11-28)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.13.2`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6132-2023-12-04)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.13.1...v6.13.2)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.13.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6131-2023-11-28)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.13.0...v6.13.1)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.13.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6130-2023-11-27)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.12.0...v6.13.0)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.12.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6120-2023-11-20)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.11.0...v6.12.0)

##### Bug Fixes

- **eslint-plugin:** \[class-methods-use-this] detect a problematic case
for private/protected members if `ignoreClassesThatImplementAnInterface`
is set
([#&#8203;7705](https://togithub.com/typescript-eslint/typescript-eslint/issues/7705))
([155aa1f](https://togithub.com/typescript-eslint/typescript-eslint/commit/155aa1f533d1fe23da3c66f9832343faf4866d85))
- **eslint-plugin:** \[no-unnecessary-condition] fix false positive with
computed member access and branded key type
([#&#8203;7706](https://togithub.com/typescript-eslint/typescript-eslint/issues/7706))
([f151b26](https://togithub.com/typescript-eslint/typescript-eslint/commit/f151b26d2178a617e82ad6a0279e3145e303f4f8))
- **eslint-plugin:** \[switch-exhaustiveness-check] enum members with
new line or single quotes are not being fixed correctly
([#&#8203;7806](https://togithub.com/typescript-eslint/typescript-eslint/issues/7806))
([a034d0a](https://togithub.com/typescript-eslint/typescript-eslint/commit/a034d0a3856aa07bd2d52b557fa33c7a88e9e511)),
closes
[#&#8203;7768](https://togithub.com/typescript-eslint/typescript-eslint/issues/7768)

##### Features

- \[member-ordering] add accessor support for member-ordering
([#&#8203;7927](https://togithub.com/typescript-eslint/typescript-eslint/issues/7927))
([3c8312d](https://togithub.com/typescript-eslint/typescript-eslint/commit/3c8312d1e135dc65fa41f629993cd03ed82e3255))
- **eslint-plugin:** \[switch-exhaustiveness-check] add
requireDefaultForNonUnion option
([#&#8203;7880](https://togithub.com/typescript-eslint/typescript-eslint/issues/7880))
([4cfcd45](https://togithub.com/typescript-eslint/typescript-eslint/commit/4cfcd451efb2563130896e42b45252909932c679))

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.11.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6110-2023-11-13)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.10.0...v6.11.0)

##### Bug Fixes

- **eslint-plugin:** \[explicit-function-return-type] support JSX
attributes in `allowTypedFunctionExpressions`
([#&#8203;7553](https://togithub.com/typescript-eslint/typescript-eslint/issues/7553))
([be2777c](https://togithub.com/typescript-eslint/typescript-eslint/commit/be2777c5338669836d786f9a7806f499fd566dcd))
- **eslint-plugin:** \[no-unnecessary-qualifier] handle nested namespace
id
([#&#8203;7883](https://togithub.com/typescript-eslint/typescript-eslint/issues/7883))
([a668f5b](https://togithub.com/typescript-eslint/typescript-eslint/commit/a668f5b10e7b1570c732312ad9ccab3431459c1b))

##### Features

- add `no-unsafe-unary-minus` rule
([#&#8203;7390](https://togithub.com/typescript-eslint/typescript-eslint/issues/7390))
([c4709c2](https://togithub.com/typescript-eslint/typescript-eslint/commit/c4709c2861f8ea4e18c289218a75224d6bb76193))
- add types for flat config files
([#&#8203;7273](https://togithub.com/typescript-eslint/typescript-eslint/issues/7273))
([66cd0c0](https://togithub.com/typescript-eslint/typescript-eslint/commit/66cd0c0535e5de1b46ba337919a9a92748d2b0a6))
- allow typescript@5.3.0-RC as devDependency
([#&#8203;7821](https://togithub.com/typescript-eslint/typescript-eslint/issues/7821))
([b6c40b4](https://togithub.com/typescript-eslint/typescript-eslint/commit/b6c40b42b68d5567c7468030ee45b9b84bec4c4d))
- **eslint-plugin:** no-unsafe-enum-comparison handles switch cases
([#&#8203;7898](https://togithub.com/typescript-eslint/typescript-eslint/issues/7898))
([72cb9e4](https://togithub.com/typescript-eslint/typescript-eslint/commit/72cb9e4ed397d35a8d8838d27dedbace6122179c))
- **utils:** add ESLint `CodePath` selector types
([#&#8203;7551](https://togithub.com/typescript-eslint/typescript-eslint/issues/7551))
([99a026f](https://togithub.com/typescript-eslint/typescript-eslint/commit/99a026fe41b4b169914352fe66e7d5d687b300bf))

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.10.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6100-2023-11-06)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.9.1...v6.10.0)

##### Bug Fixes

- **eslint-plugin:** \[no-unused-vars] handle logical assignment
([#&#8203;7854](https://togithub.com/typescript-eslint/typescript-eslint/issues/7854))
([11e57c5](https://togithub.com/typescript-eslint/typescript-eslint/commit/11e57c5937cc2ad2e6b035f8d3fb25a918490960))
- **eslint-plugin:** \[require-await] add support for "await using"
([#&#8203;7866](https://togithub.com/typescript-eslint/typescript-eslint/issues/7866))
([855abea](https://togithub.com/typescript-eslint/typescript-eslint/commit/855abea2d7ba0235e61430f9481117af5f8f1bf7))

##### Features

- **eslint-plugin:** \[ban-ts-comments] suggest ts-expect-error over
ts-ignore
([#&#8203;7849](https://togithub.com/typescript-eslint/typescript-eslint/issues/7849))
([5e73a48](https://togithub.com/typescript-eslint/typescript-eslint/commit/5e73a4810add09470426129bc6b267cfaa42c378))

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

####
[6.9.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.9.0...v6.9.1)
(2023-10-30)

##### Bug Fixes

- **eslint-plugin:** \[naming-convention] allow PascalCase for imports
([#&#8203;7841](https://togithub.com/typescript-eslint/typescript-eslint/issues/7841))
([7ad86ee](https://togithub.com/typescript-eslint/typescript-eslint/commit/7ad86eead76fa9e96573ac011376c1cb8c009cee))
- **eslint-plugin:** \[no-unused-expressions] handle
TSInstantiationExpression expression
([#&#8203;7831](https://togithub.com/typescript-eslint/typescript-eslint/issues/7831))
([31988e0](https://togithub.com/typescript-eslint/typescript-eslint/commit/31988e0d2e6cf5e6bb9bb287958b1f03ca084259))

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.9.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#691-2023-10-30)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.9.0...v6.9.1)

##### Bug Fixes

- **eslint-plugin:** \[naming-convention] allow PascalCase for imports
([#&#8203;7841](https://togithub.com/typescript-eslint/typescript-eslint/issues/7841))
([7ad86ee](https://togithub.com/typescript-eslint/typescript-eslint/commit/7ad86eead76fa9e96573ac011376c1cb8c009cee))
- **eslint-plugin:** \[no-unused-expressions] handle
TSInstantiationExpression expression
([#&#8203;7831](https://togithub.com/typescript-eslint/typescript-eslint/issues/7831))
([31988e0](https://togithub.com/typescript-eslint/typescript-eslint/commit/31988e0d2e6cf5e6bb9bb287958b1f03ca084259))

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.9.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#690-2023-10-23)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.8.0...v6.9.0)

##### Bug Fixes

- **eslint-plugin:** \[no-confusing-void-expression] handle unfixable
cases
([#&#8203;7674](https://togithub.com/typescript-eslint/typescript-eslint/issues/7674))
([7e52f27](https://togithub.com/typescript-eslint/typescript-eslint/commit/7e52f276ed5b8b2c0b76be02cb2e8a77892c10f2))
- **eslint-plugin:** \[no-unsafe-return] allow returning anything if
explicitly returning any
([#&#8203;7708](https://togithub.com/typescript-eslint/typescript-eslint/issues/7708))
([c6124b2](https://togithub.com/typescript-eslint/typescript-eslint/commit/c6124b2c93a53f11471cce8054388dec7a58f90b))

##### Features

- **eslint-plugin:** \[max-params] don't count `this: void` parameter
([#&#8203;7696](https://togithub.com/typescript-eslint/typescript-eslint/issues/7696))
([6398d3f](https://togithub.com/typescript-eslint/typescript-eslint/commit/6398d3fd0a576d8cdc957ec1b57929acacc60ba0)),
closes
[#&#8203;7538](https://togithub.com/typescript-eslint/typescript-eslint/issues/7538)
- **eslint-plugin:** \[naming-convention] add support for default and
namespace imports
([#&#8203;7269](https://togithub.com/typescript-eslint/typescript-eslint/issues/7269))
([bb15aae](https://togithub.com/typescript-eslint/typescript-eslint/commit/bb15aae877ae260f59aa5e6cfc338b1eefc6d85c))
- **eslint-plugin:** \[no-restricted-imports] support import = require
([#&#8203;7709](https://togithub.com/typescript-eslint/typescript-eslint/issues/7709))
([4c8edcf](https://togithub.com/typescript-eslint/typescript-eslint/commit/4c8edcfb7d3cc02d07d2329c87da4377c1cbf969))
- **eslint-plugin:** \[no-unsafe-enum-comparison] add switch suggestion
([#&#8203;7691](https://togithub.com/typescript-eslint/typescript-eslint/issues/7691))
([53d5263](https://togithub.com/typescript-eslint/typescript-eslint/commit/53d5263cee8e0b5ddc5de3321d27559c196e5b58)),
closes
[#&#8203;7643](https://togithub.com/typescript-eslint/typescript-eslint/issues/7643)
- **eslint-plugin:** \[prefer-readonly] private fields support
([#&#8203;7686](https://togithub.com/typescript-eslint/typescript-eslint/issues/7686))
([0e875bf](https://togithub.com/typescript-eslint/typescript-eslint/commit/0e875bf77a9d94dc74924245fabc36c0ae780977))

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.8.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#680-2023-10-16)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.5...v6.8.0)

##### Bug Fixes

- **eslint-plugin:** \[consistent-type-imports] import assertion checks
added
([#&#8203;7722](https://togithub.com/typescript-eslint/typescript-eslint/issues/7722))
([afdae37](https://togithub.com/typescript-eslint/typescript-eslint/commit/afdae3739c68469a488277eb7b7f56f679d6eb20))
- **eslint-plugin:** \[no-shadow] fix static class generics for class
expressions
([#&#8203;7724](https://togithub.com/typescript-eslint/typescript-eslint/issues/7724))
([e5ea1d0](https://togithub.com/typescript-eslint/typescript-eslint/commit/e5ea1d05603e6212093de541e5da49f139571454))
- **eslint-plugin:** \[no-unsafe-member-access] report on only the
accessed property
([#&#8203;7717](https://togithub.com/typescript-eslint/typescript-eslint/issues/7717))
([f81a2da](https://togithub.com/typescript-eslint/typescript-eslint/commit/f81a2da13529e77d039c5b31b4313a6984ceb964))
- **eslint-plugin:** \[no-useless-empty-export] exempt .d.ts
([#&#8203;7718](https://togithub.com/typescript-eslint/typescript-eslint/issues/7718))
([ac397f1](https://togithub.com/typescript-eslint/typescript-eslint/commit/ac397f18176a9defd8c189b5b6b4e5d0b7582210))

##### Features

- **eslint-plugin:** add new extended rule `prefer-destructuring`
([#&#8203;7117](https://togithub.com/typescript-eslint/typescript-eslint/issues/7117))
([3c6379b](https://togithub.com/typescript-eslint/typescript-eslint/commit/3c6379b7678bcb190ae70d211cb3930c942d17a0))

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

####
[6.7.5](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.4...v6.7.5)
(2023-10-09)

##### Bug Fixes

- **eslint-plugin:** \[prefer-string-starts-ends-with] only report
slice/substring with correct range
([#&#8203;7712](https://togithub.com/typescript-eslint/typescript-eslint/issues/7712))
([db40a0a](https://togithub.com/typescript-eslint/typescript-eslint/commit/db40a0a83abf14237a7a9b3f75d869da26512292))

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

####
[6.7.4](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.3...v6.7.4)
(2023-10-02)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

####
[6.7.3](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.2...v6.7.3)
(2023-09-25)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

####
[6.7.2](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.1...v6.7.2)
(2023-09-18)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

####
[6.7.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.0...v6.7.1)
(2023-09-18)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.7.5`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#675-2023-10-09)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.4...v6.7.5)

##### Bug Fixes

- **eslint-plugin:** \[prefer-string-starts-ends-with] only report
slice/substring with correct range
([#&#8203;7712](https://togithub.com/typescript-eslint/typescript-eslint/issues/7712))
([db40a0a](https://togithub.com/typescript-eslint/typescript-eslint/commit/db40a0a83abf14237a7a9b3f75d869da26512292))

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.7.4`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#674-2023-10-02)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.3...v6.7.4)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.7.3`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#673-2023-09-25)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.2...v6.7.3)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.7.2`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#672-2023-09-18)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.0...v6.7.2)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.7.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#670-2023-09-11)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.6.0...v6.7.0)

##### Bug Fixes

- **eslint-plugin:** \[no-restricted-imports] disallow side effect
imports when allowTypeImports is enabled
([#&#8203;7560](https://togithub.com/typescript-eslint/typescript-eslint/issues/7560))
([4908905](https://togithub.com/typescript-eslint/typescript-eslint/commit/4908905e4ee2b533504fcba0c671aa869668df25))

##### Features

- **eslint-plugin:** \[await-thenable] added suggestion fixer
([#&#8203;7437](https://togithub.com/typescript-eslint/typescript-eslint/issues/7437))
([b284370](https://togithub.com/typescript-eslint/typescript-eslint/commit/b284370e1e95493764d2806cd45975201e02f374))

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.6.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#660-2023-09-04)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.5.0...v6.6.0)

##### Bug Fixes

- **eslint-plugin:** \[key-spacing] consider properties with parens and
comments
([#&#8203;7525](https://togithub.com/typescript-eslint/typescript-eslint/issues/7525))
([7012279](https://togithub.com/typescript-eslint/typescript-eslint/commit/7012279b8510f9fcaee64b610d0a66e8e90f0865))

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.5.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#650-2023-08-28)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.4.1...v6.5.0)

##### Bug Fixes

- **eslint-plugin:** \[consistent-type-assertions] wrap object return
value with parentheses
([#&#8203;6885](https://togithub.com/typescript-eslint/typescript-eslint/issues/6885))
([23ac499](https://togithub.com/typescript-eslint/typescript-eslint/commit/23ac49944e4f4067f89123fddd4a80c629270b4c))

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

####
[6.4.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.4.0...v6.4.1)
(2023-08-21)

##### Bug Fixes

- **eslint-plugin:** \[no-unnecessary-condition] false positives with
branded types
([#&#8203;7466](https://togithub.com/typescript-eslint/typescript-eslint/issues/7466))
([b52658f](https://togithub.com/typescript-eslint/typescript-eslint/commit/b52658fbb6f5cf2085c94926872e6d39efaa3b01)),
closes
[#&#8203;7293](https://togithub.com/typescript-eslint/typescript-eslint/issues/7293)

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.4.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#641-2023-08-21)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.4.0...v6.4.1)

##### Bug Fixes

- **eslint-plugin:** \[no-unnecessary-condition] false positives with
branded types
([#&#8203;7466](https://togithub.com/typescript-eslint/typescript-eslint/issues/7466))
([b52658f](https://togithub.com/typescript-eslint/typescript-eslint/commit/b52658fbb6f5cf2085c94926872e6d39efaa3b01)),
closes
[#&#8203;7293](https://togithub.com/typescript-eslint/typescript-eslint/issues/7293)

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.4.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#640-2023-08-14)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.3.0...v6.4.0)

##### Bug Fixes

- **eslint-plugin:** \[non-nullable-type-assertion-style] consider
operator precedence when fixing
([#&#8203;7289](https://togithub.com/typescript-eslint/typescript-eslint/issues/7289))
([bad37a2](https://togithub.com/typescript-eslint/typescript-eslint/commit/bad37a22025b718a10e70cc84b9847eb41f723d0))
- **eslint-plugin:** \[strict-boolean-expressions] replace dangerous
fixer with suggestions
([#&#8203;7394](https://togithub.com/typescript-eslint/typescript-eslint/issues/7394))
([ad8401a](https://togithub.com/typescript-eslint/typescript-eslint/commit/ad8401a5970441258cc4440a01a3acf35d861171))

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.3.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#630-2023-08-07)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.2.1...v6.3.0)

##### Bug Fixes

- **eslint-plugin:** \[no-extra-parens] keep parens around call
expression arguments when type arguments contain parens
([#&#8203;7375](https://togithub.com/typescript-eslint/typescript-eslint/issues/7375))
([38e5e4e](https://togithub.com/typescript-eslint/typescript-eslint/commit/38e5e4eb8624649a2b66e19a303383bebbda1e2e))
- **eslint-plugin:** \[no-restricted-imports] allow inline type
qualifiers when `allowTypeImports` enabled
([#&#8203;7379](https://togithub.com/typescript-eslint/typescript-eslint/issues/7379))
([cc9a46d](https://togithub.com/typescript-eslint/typescript-eslint/commit/cc9a46d01bce4282ff841d5ccef5445984aff8f6))

##### Features

- **eslint-plugin:** \[prefer-nullish-coalescing] allow
`ignorePrimitives` option to be `true`
([#&#8203;7331](https://togithub.com/typescript-eslint/typescript-eslint/issues/7331))
([dfcafae](https://togithub.com/typescript-eslint/typescript-eslint/commit/dfcafae515e7f4d1ae69387eb163200e455dd0ce))

##### Reverts

- Revert "chore(deps): update dependency marked to v6"
([#&#8203;7429](https://togithub.com/typescript-eslint/typescript-eslint/issues/7429))
([7891a06](https://togithub.com/typescript-eslint/typescript-eslint/commit/7891a06892445a30c90c882d7e2f17fdf9da5601)),
closes
[#&#8203;7429](https://togithub.com/typescript-eslint/typescript-eslint/issues/7429)
[#&#8203;7422](https://togithub.com/typescript-eslint/typescript-eslint/issues/7422)

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

####
[6.2.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.2.0...v6.2.1)
(2023-07-31)

##### Bug Fixes

- **eslint-plugin:** \[no-inferrable-types] apply also for parameter
properties
([#&#8203;7288](https://togithub.com/typescript-eslint/typescript-eslint/issues/7288))
([67f93b1](https://togithub.com/typescript-eslint/typescript-eslint/commit/67f93b19f2e481a4e441635d72e81de9d5d7ad44))
- **scope-manager:** correct decorators(.length) check in ClassVisitor
for methods
([#&#8203;7334](https://togithub.com/typescript-eslint/typescript-eslint/issues/7334))
([abbb6c2](https://togithub.com/typescript-eslint/typescript-eslint/commit/abbb6c2c6d2bc1f8d4defd2060dbc473735b2cc7))

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.2.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#621-2023-07-31)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.2.0...v6.2.1)

##### Bug Fixes

- **eslint-plugin:** \[no-inferrable-types] apply also for parameter
properties
([#&#8203;7288](https://togithub.com/typescript-eslint/typescript-eslint/issues/7288))
([67f93b1](https://togithub.com/typescript-eslint/typescript-eslint/commit/67f93b19f2e481a4e441635d72e81de9d5d7ad44))
- **scope-manager:** correct decorators(.length) check in ClassVisitor
for methods
([#&#8203;7334](https://togithub.com/typescript-eslint/typescript-eslint/issues/7334))
([abbb6c2](https://togithub.com/typescript-eslint/typescript-eslint/commit/abbb6c2c6d2bc1f8d4defd2060dbc473735b2cc7))

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.2.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#620-2023-07-24)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.1.0...v6.2.0)

##### Bug Fixes

- **eslint-plugin:** \[member-ordering] account for repeated names
([#&#8203;6864](https://togithub.com/typescript-eslint/typescript-eslint/issues/6864))
([d207b59](https://togithub.com/typescript-eslint/typescript-eslint/commit/d207b59e24acb9377a7a55104d082bd91fbb664e))
- **eslint-plugin:** \[no-unsafe-enum-comparison] exempt bit shift
operators
([#&#8203;7074](https://togithub.com/typescript-eslint/typescript-eslint/issues/7074))
([b3e0e75](https://togithub.com/typescript-eslint/typescript-eslint/commit/b3e0e7571f1abb5dae347d3701844324232b1431))
- **eslint-plugin:** \[prefer-nullish-coalescing] handle case when type
of left side is null or undefined
([#&#8203;7225](https://togithub.com/typescript-eslint/typescript-eslint/issues/7225))
([b62affe](https://togithub.com/typescript-eslint/typescript-eslint/commit/b62affe8ddac7c0af22bf74f22503d0cda92f4c0))
- **eslint-plugin:** use a default export for the rules type
([#&#8203;7266](https://togithub.com/typescript-eslint/typescript-eslint/issues/7266))
([af77a1d](https://togithub.com/typescript-eslint/typescript-eslint/commit/af77a1d33f0853d2ab0f61e4ac04dec47cd7ba18))

##### Features

- **eslint-plugin:** \[class-methods-use-this] add extension rule
([#&#8203;6457](https://togithub.com/typescript-eslint/typescript-eslint/issues/6457))
([18ea3b1](https://togithub.com/typescript-eslint/typescript-eslint/commit/18ea3b1f8938e25053f89b7e4ec8dcc6c453118a))
- **eslint-plugin:** sync getFunctionHeadLoc implementation with
upstream
([#&#8203;7260](https://togithub.com/typescript-eslint/typescript-eslint/issues/7260))
([f813147](https://togithub.com/typescript-eslint/typescript-eslint/commit/f81314731cccb779423e2580a805eff3efff8564))

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

###
[`v6.1.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#610-2023-07-17)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.0.0...v6.1.0)

##### Bug Fixes

-   **eslint-plugin:** \[comma-dangle] fixed crash f

</details>

---

### 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 is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log [here](https://developer.mend.io/github/STORIS/mvom).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41LjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4yOTMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Phil Fuster <pafus23@protonmail.com>
  • Loading branch information
renovate[bot] and philfuster authored Apr 19, 2024
1 parent bcb43a7 commit 01d12be
Show file tree
Hide file tree
Showing 8 changed files with 1,645 additions and 9,672 deletions.
28 changes: 22 additions & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ module.exports = {
},
// camelCase for everything not otherwise indicated
{ selector: 'default', format: ['camelCase'] },
// allow any naming convention for imports
{ selector: 'import', format: null },
// allow known default exclusions
{ selector: 'default', filter: { regex: '^(_id|__v|_raw)$', match: true }, format: null },
// allow variables to be camelCase or UPPER_CASE
Expand Down Expand Up @@ -72,6 +74,7 @@ module.exports = {
'plugin:jest/recommended',
'plugin:jest/style',
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/stylistic',
'plugin:import/typescript',
'prettier',
],
Expand Down Expand Up @@ -142,18 +145,21 @@ module.exports = {
// enforce consistent order of class members
'@typescript-eslint/member-ordering': 'error',

// disallow parameter properties in favor of explicit class declarations
'@typescript-eslint/no-parameter-properties': 'error',

// ensure unused variables are treated as an error
// overrides @typescript-eslint/recommended -- '@typescript-eslint/no-unused-vars': 'warn'
// https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/recommended.ts
'@typescript-eslint/no-unused-vars': 'error',

// disallow parameter properties in favor of explicit class declarations
'@typescript-eslint/parameter-properties': 'error',
},
},
{
files: tsGlobs,
extends: ['plugin:@typescript-eslint/recommended-requiring-type-checking'],
extends: [
'plugin:@typescript-eslint/recommended-type-checked',
'plugin:@typescript-eslint/stylistic-type-checked',
],
rules: {
// ban ts-comment except with description
'@typescript-eslint/ban-ts-comment': [
Expand All @@ -166,8 +172,8 @@ module.exports = {
},
],

// disable rules turned on by @typescript-eslint/recommended-requiring-type-checking which are too noisy
// https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/recommended-requiring-type-checking.ts
// disable rules turned on by @typescript-eslint/recommended-type-checked which are too noisy
// https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/recommended-type-checked.ts
'@typescript-eslint/no-unsafe-argument': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
Expand All @@ -179,6 +185,16 @@ module.exports = {
// force explicit member accessibility modifiers
'@typescript-eslint/explicit-member-accessibility': 'error',

// ban non-null assertions
'@typescript-eslint/no-non-null-assertion': 'error',

// override @typescript-eslint/stylistic-type-checked to ignore booleans in nullish coalescing checks
// https://typescript-eslint.io/rules/prefer-nullish-coalescing#ignoreprimitives
'@typescript-eslint/prefer-nullish-coalescing': [
'error',
{ ignorePrimitives: { boolean: true } },
],

// disallow boolean comparisons against non-boolean values
'@typescript-eslint/strict-boolean-expressions': ['error', { allowNullableBoolean: true }],
},
Expand Down
Loading

0 comments on commit 01d12be

Please sign in to comment.