Packages

@typescript-eslint/eslint-plugin

8.72.1 · 26 Oct 2026MIT172.4M / weekRepositoryHomepagenpmAtom feed

Your version

7.12.0

3 Jun 2024Where it was published

7.18.0 is the newest release of 7.x.

In short

4 new8 fixed

Release note

Features

  • eslint-plugin: [no-useless-template-literals] rename to no-unnecessary-template-expression (deprecate no-useless-template-literals)

  • eslint-plugin: [no-floating-promises] add option 'allowForKnownSafePromises'

  • rule-tester: check for parsing errors in suggestion fixes

  • rule-tester: port checkDuplicateTestCases from ESLint

Fixes

  • eslint-plugin: [no-unnecessary-type-assertion] combine template literal check with const variable check

  • eslint-plugin: [dot-notation] fix false positive when accessing private/protected property with optional chaining

  • eslint-plugin: [explicit-member-accessibility] refine report locations

  • eslint-plugin: [no-unnecessary-type-assertion] declares are always defined, so always check declares

  • eslint-plugin: [prefer-literal-enum-member] allow using member it self on allowBitwiseExpressions

  • eslint-plugin: [return-await] clean up in-try-catch detection and make autofixes safe

  • eslint-plugin: [member-ordering] also TSMethodSignature can be get/set

  • types: correct typing ParserOptions