chore(deps): update typescript-eslint monorepo to v7 (major)
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
@typescript-eslint/eslint-plugin (source) | devDependencies | major | ^5.37 -> ^7.0.0 |
@typescript-eslint/parser (source) | devDependencies | major | ^5.37 -> ^7.0.0 |
Release Notes
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
v7.10.0
🚀 Features
- eslint-plugin: [sort-type-constituents] support case sensitive sorting
🩹 Fixes
- eslint-plugin: [prefer-regexp-exec] fix heuristic to check whether regex may contain global flag
❤ ️ Thank You
- auvred
- Emanuel Hoogeveen
- jsfm01
- Kirk Waiblinger
You can read about our versioning strategy and releases on our website.
v7.9.0
🩹 Fixes
- eslint-plugin: [explicit-function-return-types] fix false positive on default parameters
❤ ️ Thank You
- Kirk Waiblinger
- Sheetal Nandi
- Vinccool96
You can read about our versioning strategy and releases on our website.
v7.8.0
🩹 Fixes
-
eslint-plugin: [no-unsafe-argument] handle tagged templates
-
eslint-plugin: [prefer-optional-chain] suggests optional chaining during strict null equality check
-
eslint-plugin: [consistent-type-assertions] handle tagged templates
-
eslint-plugin: [no-unsafe-return] handle union types
-
eslint-plugin: [no-unused-vars] clear error report range
❤ ️ Thank You
- auvred
- Josh Goldberg
✨ - jsfm01
- Kim Sang Du
- YeonJuan
You can read about our versioning strategy and releases on our website.
v7.7.1
🩹 Fixes
-
eslint-plugin: [no-unsafe-assignment] handle shorthand property assignment
-
eslint-plugin: [explicit-function-return-type] fix checking wrong ancestor's return type
-
eslint-plugin: [prefer-optional-chain] only look at left operand for
requireNullish
-
eslint-plugin: [no-for-in-array] refine report location
-
eslint-plugin: [no-unnecessary-type-assertion] allow non-null assertion for void type
❤ ️ Thank You
- Abraham Guo
- Kirk Waiblinger
- YeonJuan
You can read about our versioning strategy and releases on our website.
v7.7.0
🚀 Features
-
eslint-plugin: replace
no-new-symbol
withno-new-native-nonconstructor
❤ ️ Thank You
- Dave
- Josh Goldberg
✨
You can read about our versioning strategy and releases on our website.
v7.6.0
🚀 Features
- bump npm dependency ranges
❤ ️ Thank You
- Abraham Guo
- auvred
- Brad Zacher
You can read about our versioning strategy and releases on our website.
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 and releases on our website.
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
andfalse
-
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 and releases on our website.
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 and releases on our website.
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 inpackage.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 and releases on our website.
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 and releases on our website.
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 and releases on our website.
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 and releases on our website.
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 and releases on our website.
v7.0.1
🩹 Fixes
- eslint-plugin: update peer dep for parser
❤ ️ Thank You
- Tim Dorr
You can read about our versioning strategy and releases on our website.
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 and 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 and 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 and 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 and 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 and 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 and 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 and releases on our website.
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 and releases on our website.
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 and releases on our website.
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 and releases on our website.
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 and releases on our website.
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 and releases on our website.
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 and releases on our website.
v6.17.0
Bug Fixes
-
eslint-plugin: [no-restricted-imports] prevent crash when
patterns
orpaths
in options are empty (#8108) (675e987)
Features
- eslint-plugin: [no-floating-promises] flag result of .map(async) (#7897) (5857356)
-
eslint-plugin: [switch-exhaustiveness-check] add an option to warn against a
default
case on an already exhaustiveswitch
(#7539) (6a219bd)
You can read about our versioning strategy and releases on our website.
v6.16.0
Bug Fixes
Features
- eslint-plugin: deprecate formatting (meta.type: layout) rules (#8073) (04dea84)
- eslint-plugin: deprecate no-extra-semi in favor of ESLint Stylistic equivalent (#8123) (9368bf3)
You can read about our versioning strategy and releases on our website.
v6.15.0
Features
- eslint-plugin: [no-useless-template-literals] add new rule (#7957) (ff75785), closes #2846
- require-array-sort-compare + toSorted (#8052) (c9661c8)
You can read about our versioning strategy and releases on our website.
v6.14.0
Bug Fixes
- eslint-plugin: add no-unsafe-unary-minus, prefer-destructuring to disable-type-checked (#8038) (431cd15)
-
eslint-plugin: correct message for
no-unsafe-unary-minus
(#7998) (705370a)
Features
- eslint-plugin: [explicit-function-return-type] add support for typed class property definitions (#8027) (bff47d7)
- eslint-plugin: [require-await] allow yielding Promise in async generators (#8003) (4c3e704)
You can read about our versioning strategy and releases on our website.
6.13.2 (2023-12-04)
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
6.13.1 (2023-11-28)
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
v6.13.2
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
v6.13.1
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
v6.13.0
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
v6.12.0
Bug Fixes
-
eslint-plugin: [class-methods-use-this] detect a problematic case for private/protected members if
ignoreClassesThatImplementAnInterface
is set (#7705) (155aa1f) - eslint-plugin: [no-unnecessary-condition] fix false positive with computed member access and branded key type (#7706) (f151b26)
- eslint-plugin: [switch-exhaustiveness-check] enum members with new line or single quotes are not being fixed correctly (#7806) (a034d0a), closes #7768
Features
- [member-ordering] add accessor support for member-ordering (#7927) (3c8312d)
- eslint-plugin: [switch-exhaustiveness-check] add requireDefaultForNonUnion option (#7880) (4cfcd45)
You can read about our versioning strategy and releases on our website.
v6.11.0
Bug Fixes
-
eslint-plugin: [explicit-function-return-type] support JSX attributes in
allowTypedFunctionExpressions
(#7553) (be2777c) - eslint-plugin: [no-unnecessary-qualifier] handle nested namespace id (#7883) (a668f5b)
Features
- add
no-unsafe-unary-minus
rule (#7390) (c4709c2) - add types for flat config files (#7273) (66cd0c0)
- allow typescript@5.3.0-RC as devDependency (#7821) (b6c40b4)
- eslint-plugin: no-unsafe-enum-comparison handles switch cases (#7898) (72cb9e4)
-
utils: add ESLint
CodePath
selector types (#7551) (99a026f)
You can read about our versioning strategy and releases on our website.
v6.10.0
Bug Fixes
- eslint-plugin: [no-unused-vars] handle logical assignment (#7854) (11e57c5)
- eslint-plugin: [require-await] add support for "await using" (#7866) (855abea)
Features
You can read about our versioning strategy and releases on our website.
6.9.1 (2023-10-30)
Bug Fixes
- eslint-plugin: [naming-convention] allow PascalCase for imports (#7841) (7ad86ee)
- eslint-plugin: [no-unused-expressions] handle TSInstantiationExpression expression (#7831) (31988e0)
You can read about our versioning strategy and releases on our website.
v6.9.1
Bug Fixes
- eslint-plugin: [naming-convention] allow PascalCase for imports (#7841) (7ad86ee)
- eslint-plugin: [no-unused-expressions] handle TSInstantiationExpression expression (#7831) (31988e0)
You can read about our versioning strategy and releases on our website.
v6.9.0
Bug Fixes
- eslint-plugin: [no-confusing-void-expression] handle unfixable cases (#7674) (7e52f27)
- eslint-plugin: [no-unsafe-return] allow returning anything if explicitly returning any (#7708) (c6124b2)
Features
-
eslint-plugin: [max-params] don't count
this: void
parameter (#7696) (6398d3f), closes #7538 - eslint-plugin: [naming-convention] add support for default and namespace imports (#7269) (bb15aae)
- eslint-plugin: [no-restricted-imports] support import = require (#7709) (4c8edcf)
- eslint-plugin: [no-unsafe-enum-comparison] add switch suggestion (#7691) (53d5263), closes #7643
- eslint-plugin: [prefer-readonly] private fields support (#7686) (0e875bf)
You can read about our versioning strategy and releases on our website.
v6.8.0
Bug Fixes
- eslint-plugin: [consistent-type-imports] import assertion checks added (#7722) (afdae37)
- eslint-plugin: [no-shadow] fix static class generics for class expressions (#7724) (e5ea1d0)
- eslint-plugin: [no-unsafe-member-access] report on only the accessed property (#7717) (f81a2da)
- eslint-plugin: [no-useless-empty-export] exempt .d.ts (#7718) (ac397f1)
Features
You can read about our versioning strategy and releases on our website.
6.7.5 (2023-10-09)
Bug Fixes
- eslint-plugin: [prefer-string-starts-ends-with] only report slice/substring with correct range (#7712) (db40a0a)
You can read about our versioning strategy and releases on our website.
6.7.4 (2023-10-02)
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
6.7.3 (2023-09-25)
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
6.7.2 (2023-09-18)
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
6.7.1 (2023-09-18)
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
v6.7.5
Bug Fixes
- eslint-plugin: [prefer-string-starts-ends-with] only report slice/substring with correct range (#7712) (db40a0a)
You can read about our versioning strategy and releases on our website.
v6.7.4
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
v6.7.3
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
v6.7.2
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
v6.7.0
Bug Fixes
- eslint-plugin: [no-restricted-imports] disallow side effect imports when allowTypeImports is enabled (#7560) (4908905)
Features
You can read about our versioning strategy and releases on our website.
v6.6.0
Bug Fixes
You can read about our versioning strategy and releases on our website.
v6.5.0
Bug Fixes
- eslint-plugin: [consistent-type-assertions] wrap object return value with parentheses (#6885) (23ac499)
You can read about our versioning strategy and releases on our website.
6.4.1 (2023-08-21)
Bug Fixes
- eslint-plugin: [no-unnecessary-condition] false positives with branded types (#7466) (b52658f), closes #7293
You can read about our versioning strategy and releases on our website.
v6.4.1
Bug Fixes
- eslint-plugin: [no-unnecessary-condition] false positives with branded types (#7466) (b52658f), closes #7293
You can read about our versioning strategy and releases on our website.
v6.4.0
Bug Fixes
- eslint-plugin: [non-nullable-type-assertion-style] consider operator precedence when fixing (#7289) (bad37a2)
- eslint-plugin: [strict-boolean-expressions] replace dangerous fixer with suggestions (#7394) (ad8401a)
You can read about our versioning strategy and releases on our website.
v6.3.0
Bug Fixes
- eslint-plugin: [no-extra-parens] keep parens around call expression arguments when type arguments contain parens (#7375) (38e5e4e)
-
eslint-plugin: [no-restricted-imports] allow inline type qualifiers when
allowTypeImports
enabled (#7379) (cc9a46d)
Features
-
eslint-plugin: [prefer-nullish-coalescing] allow
ignorePrimitives
option to betrue
(#7331) (dfcafae)
Reverts
You can read about our versioning strategy and releases on our website.
6.2.1 (2023-07-31)
Bug Fixes
- eslint-plugin: [no-inferrable-types] apply also for parameter properties (#7288) (67f93b1)
- scope-manager: correct decorators(.length) check in ClassVisitor for methods (#7334) (abbb6c2)
You can read about our versioning strategy and releases on our website.
v6.2.1
Bug Fixes
- eslint-plugin: [no-inferrable-types] apply also for parameter properties (#7288) (67f93b1)
- scope-manager: correct decorators(.length) check in ClassVisitor for methods (#7334) (abbb6c2)
You can read about our versioning strategy and releases on our website.
v6.2.0
Bug Fixes
- eslint-plugin: [member-ordering] account for repeated names (#6864) (d207b59)
- eslint-plugin: [no-unsafe-enum-comparison] exempt bit shift operators (#7074) (b3e0e75)
- eslint-plugin: [prefer-nullish-coalescing] handle case when type of left side is null or undefined (#7225) (b62affe)
- eslint-plugin: use a default export for the rules type (#7266) (af77a1d)
Features
- eslint-plugin: [class-methods-use-this] add extension rule (#6457) (18ea3b1)
- eslint-plugin: sync getFunctionHeadLoc implementation with upstream (#7260) (f813147)
You can read about our versioning strategy and releases on our website.
v6.1.0
Bug Fixes
- eslint-plugin: [comma-dangle] fixed crash from undefined predicate.ignore (#7223) (d368164)
- eslint-plugin: [no-floating-promises] false negative calling .then with second argument undefined (#6881) (606a52c), closes #6850
- eslint-plugin: [no-floating-promises] finally should be transparent to unhandled promises (#7092) (2a4421c)
- eslint-plugin: [no-unnecessary-type-constraint] correctly fix in cts/mts files (#6795) (1404796)
- eslint-plugin: [no-unused-vars] check if any variable definition is exported (#6873) (587ac30), closes #6188
- eslint-plugin: fix schemas across several rules and add schema tests (#6947) (dd31bed)
- eslint-plugin: include the rules types in the package (#7215) (a3da11d)
Features
- typescript-estree: add EXPERIMENTAL_useProjectService option to use TypeScript project service (#6754) (6d3d162)
You can read about our versioning strategy and releases on our website.
v6.0.0
Bug Fixes
- bumped ts-api-utils to 0.0.39 (#6497) (217c710)
- correct handling of additionalProperties in object schemas (#6939) (489c7a5)
- correct lint error after merge (277fdb5)
- eslint-plugin: [explicit-module-boundary-types] remove shouldTrackReferences option from schema (#5399) (6d32734)
- eslint-plugin: allow parser@^6.0.0 (#6630) (92908bd)
- eslint-plugin: remove valid-typeof disable in eslint-recommended (#5381) (b82df5e)
- fix illegal decorator check (#6723) (c456f8c)
- rename typeParameters to typeArguments where needed (#5384) (08d757b)
- replace tsutils with ts-api-tools (#6428) (79327b4)
- type-utils: treat intrinsic types as if they are from lib and never match error types (#6869) (ecb57de)
- typescript-estree: account for namespace nesting in AST conversion (#6272) (09e3877)
- update
exports
field in package.json files (#6550) (53776c2)
chore
Features
- add new package
rule-tester
(#6777) (2ce1c1d) - add package.json exports for public packages (#6458) (d676683)
- bump minimum supported TS version to 4.2.4 (#5915) (a8e71d5)
- bump ts-api-utils to v0.0.21 (#6459) (3915661)
- bump ts-api-utils to v0.0.22 (#6472) (b88cd23)
- drop support for ESLint v6 (#5972) (bda806d)
- drop support for node v12 (#5918) (7e3fe9a)
- drop support for node v14 and test against node v20 (#7022) (e6235bf)
- eslint-plugin: [prefer-nullish-coalescing]: add support for assignment expressions (#5234) (4bdbe67)
- eslint-plugin: [prefer-optional-chain] handle cases where the first operands are unrelated to the rest of the chain and add type info (#6397) (02a37c4)
- eslint-plugin: [prefer-readonly-parameter-types] added an optional type allowlist (#4436) (c9427b7)
- eslint-plugin: [restrict-plus-operands] change checkCompoundAssignments to skipCompoundAssignments (#7027) (dc801d8)
- eslint-plugin: add config that disables type-aware linting (#6470) (3b063cf)
- eslint-plugin: apply final v6 changes to configs (#7110) (c13ce0b)
- eslint-plugin: deprecate no-type-alias (#6229) (820bdf2)
- eslint-plugin: final final config changes for v6 (#7157) (e35c5c1)
- eslint-plugin: rework configs: recommended, strict, stylistic; -type-checked (#5251) (5346b5b), closes #5036 #5834 #5882 #5864 #3076 #5834 #5882 #5864 #5889 #5834 #5882 #5864 #5883 #4863 #5381 #5256 #5399
- fork json schema types for better compat with ESLint rule validation (#6963) (a4967f2)
- improve rule schemas, add test to validate schemas, add tooling to generate schema types (#6899) (acc1a43)
- made BaseNode.parent non-optional (#5252) (a4768f3), closes #5036 #5834 #5882 #5864 #3076 #5834 #5882 #5864 #5889 #5834 #5882 #5864 #5883 #4863 #5381 #5256 #5399
- remove
RuleTester
in/utils
in favour of the new/rule-tester
package (#6816) (c33f497) - remove partial type-information program (#6066) (7fc062a)
- typescript-estree: add type checker wrapper APIs to ParserServicesWithTypeInformation (#6404) (62d5755)
- typescript-estree: added allowInvalidAST option to not throw on invalid tokens (#6247) (a3b177d)
- typescript-estree: check for illegal decorators on function declarations (#6590) (1b39cfd)
- typescript-estree: check modifiers on every node (#6615) (62d6230)
- typescript-estree: remove optionality from AST boolean properties (#6274) (df131e2)
- typescript-estree: throw errors for object methods without function bodies (#6589) (1d78576)
- typescript-estree: throw errors when abstract property has initializer (#6613) (dcdbc76)
BREAKING CHANGES
- eslint-plugin: Adds an additional class of checks to the rule
- drop support for ESLint v6
- drops support for node v17
- Bumps the minimum supported range and removes handling for old versions
- drops support for node v12
You can read about our versioning strategy and releases on our website.
typescript-eslint/typescript-eslint (@typescript-eslint/parser)
v7.10.0
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v7.9.0
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v7.8.0
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v7.7.1
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v7.7.0
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v7.6.0
🚀 Features
- bump npm dependency ranges
❤ ️ Thank You
- Abraham Guo
- auvred
- Brad Zacher
You can read about our versioning strategy and releases on our website.
v7.5.0
🩹 Fixes
-
parser: disallow
errorOnTypeScriptSyntacticAndSemanticIssues
❤ ️ Thank You
- Brad Zacher
- Kim Sang Du
- Mark de Dios
- Naru
- YeonJuan
You can read about our versioning strategy and releases on our website.
v7.4.0
🚀 Features
- eslint-plugin: [consistent-type-imports] ignore files with decorators, experimentalDecorators, and emitDecoratorMetadata
❤ ️ Thank You
- Abraham Guo
- Brad Zacher
- Josh Goldberg
✨ - Kim Sang Du
- Kirk Waiblinger
- Marco Pasqualetti
- YeonJuan
You can read about our versioning strategy and releases on our website.
v7.3.1
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v7.3.0
🩹 Fixes
- correct
engines.node
constraints inpackage.json
❤ ️ 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 and releases on our website.
v7.2.0
🚀 Features
- support TS 5.4
❤ ️ Thank You
- Arka Pratim Chaudhuri
- auvred
- Chris Plummer
- Fotis Papadogeorgopoulos
- Josh Goldberg
✨ - Kirk Waiblinger
- Wayne Zhang
- YeonJuan
You can read about our versioning strategy and releases on our website.
v7.1.1
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v7.1.0
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
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 and releases on our website.
v7.0.1
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v7.0.0
🚀 Features
-
⚠ ️ bump ESLint, NodeJS, and TS minimum version requirements -
add support for flat configs
⚠ ️ 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 and releases on our website.
6.21.0 (2024-02-05)
🚀 Features
- allow
parserOptions.project: false
❤ ️ Thank You
- auvred
- Brad Zacher
- Kirk Waiblinger
- Pete Gonzalez
- YeonJuan
You can read about our versioning strategy and releases on our website.
6.20.0 (2024-01-29)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
6.19.1 (2024-01-22)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
6.19.0 (2024-01-15)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
6.18.1 (2024-01-08)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
6.18.0 (2024-01-06)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v6.21.0
🚀 Features
- allow
parserOptions.project: false
❤ ️ Thank You
- auvred
- Brad Zacher
- Kirk Waiblinger
- Pete Gonzalez
- YeonJuan
You can read about our versioning strategy and releases on our website.
v6.20.0
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v6.19.1
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v6.19.0
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v6.18.1
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v6.18.0
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v6.17.0
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.16.0
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.15.0
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.14.0
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
6.13.2 (2023-12-04)
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
6.13.1 (2023-11-28)
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.13.2
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.13.1
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.13.0
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.12.0
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.11.0
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.10.0
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
6.9.1 (2023-10-30)
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.9.1
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.9.0
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.8.0
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
6.7.5 (2023-10-09)
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
6.7.4 (2023-10-02)
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
6.7.3 (2023-09-25)
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
6.7.2 (2023-09-18)
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
6.7.1 (2023-09-18)
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.7.5
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.7.4
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.7.3
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.7.2
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.7.0
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.6.0
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.5.0
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
6.4.1 (2023-08-21)
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.4.1
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.4.0
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.3.0
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
6.2.1 (2023-07-31)
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.2.1
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.2.0
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.1.0
Features
- typescript-estree: add EXPERIMENTAL_useProjectService option to use TypeScript project service (#6754) (6d3d162)
You can read about our versioning strategy and releases on our website.
v6.0.0
Bug Fixes
chore
Features
- add new package
rule-tester
(#6777) (2ce1c1d) - add package.json exports for public packages (#6458) (d676683)
- drop support for ESLint v6 (#5972) (bda806d)
- drop support for node v12 (#5918) (7e3fe9a)
- drop support for node v14 and test against node v20 (#7022) (e6235bf)
- remove partial type-information program (#6066) (7fc062a)
- scope-manager: ignore ECMA version (#5889) (f2330f7), closes #5834 #5882 #5864 #5883
- typescript-estree: added allowInvalidAST option to not throw on invalid tokens (#6247) (a3b177d)
- typescript-estree: allow providing code as a ts.SourceFile (#5892) (af41b7f)
- typescript-estree: deprecate createDefaultProgram (#5890) (426d6b6)
- typescript-estree: remove optionality from AST boolean properties (#6274) (df131e2)
BREAKING CHANGES
- drop support for ESLint v6
- drops support for node v17
- drops support for node v12
You can read about our versioning strategy and releases on our website.
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.