typescript-eslint

Monorepo for all the tooling which enables ESLint to support TypeScript

OTHER License

Downloads
1.4B
Stars
14.5K
Committers
682

Bot releases are visible (Hide)

typescript-eslint - v7.6.0 Latest Release

Published by typescript-eslint[bot] 7 months ago

7.6.0 (2024-04-08)

🚀 Features

🩹 Fixes

  • typescript-eslint: fix type errors when using exactOptionalPropertyTypes (#8786)

❤️ Thank You

  • Abraham Guo
  • auvred @auvred
  • Brad Zacher @bradzacher

You can read about our versioning strategy and releases on our website.

typescript-eslint - v7.5.0

Published by typescript-eslint[bot] 7 months ago

7.5.0 (2024-04-01)

🩹 Fixes

  • eslint-plugin: [no-floating-promises] handle TaggedTemplateExpression (#8758)
  • eslint-plugin: [no-unnecessary-type-assertion] handle exactOptionalPropertyTypes compiler option (#8770)
  • parser: disallow errorOnTypeScriptSyntacticAndSemanticIssues (#8784)
  • typescript-eslint: improve support for legacy configs (#8812)

❤️ Thank You

  • Brad Zacher @bradzacher
  • Mark de Dios @peanutenthusiast
  • Naru @naruaway
  • YeonJuan @yeonjuan

You can read about our versioning strategy and releases on our website.

typescript-eslint - v7.4.0

Published by typescript-eslint[bot] 7 months ago

7.4.0 (2024-03-25)

🚀 Features

🩹 Fixes

  • eslint-plugin: [prefer-optional-chain] address multipart nullish checks false positive (#8678)
  • eslint-plugin: [prefer-optional-chain] properly disambiguate between boolean and false (#8685)
  • eslint-plugin: [no-unnecessary-type-assertion] avoid remove const casting on template literals with expressions inside (#8740)
  • typescript-eslint: declare peer dependency on utils to ensure npm correctly installs dependencies (#8738)
  • website: visual Editor is not scrolled (#8709)
  • website: make 404 page good again (#8750)

❤️ Thank You

  • Abraham Guo
  • Brad Zacher @bradzacher
  • Josh Goldberg ✨
  • Kim Sang Du @developer-bandi
  • Kirk Waiblinger @kirkwaiblinger
  • Marco Pasqualetti @marcalexiei
  • YeonJuan @yeonjuan

You can read about our versioning strategy and releases on our website.

typescript-eslint - v7.3.1

Published by typescript-eslint[bot] 7 months ago

7.3.1 (2024-03-18)

🩹 Fixes

  • eslint-plugin: [no-floating-promises] revert disable of ignoreVoid in strict config (#8718)

❤️ Thank You

  • Josh Goldberg ✨

You can read about our versioning strategy and releases on our website.

typescript-eslint - v7.3.0

Published by typescript-eslint[bot] 7 months ago

7.3.0 (2024-03-18)

Note that this release enables rules to have more restrictive default options as configured in the strict and strict-type-checked configs. See #8364 for more details.

🚀 Features

  • eslint-plugin: [restrict-template-expressions] add allowArray option (#8389)
  • eslint-plugin: add meta.docs.recommended setting for strict config options (#8364)
  • eslint-plugin: add rule use-unknown-in-catch-callback-variables (#8383)
  • eslint-plugin: [prefer-reduce-type-parameter] supports tuple, union, intersection (#8642)
  • eslint-plugin-internal: add internal lint rule no-relative-paths-to-internal-packages (#8596)
  • typescript-estree: disallow switch statements with multiple default cases (#8411)
  • utils: add parser name to thrown parser error message (#8484)

🩹 Fixes

  • correct engines.node constraints in package.json (#8671)
  • eslint-plugin: [unbound-method] check method definition in object literal using longhand form (#8637)
  • eslint-plugin: [consistent-type-imports] handle imports without specifiers (#8308)
  • eslint-plugin: [no-redundant-type-constituents] incorrectly marks & string as redundant (#8282)
  • eslint-plugin: [no-unnecessary-qualifier] handle merge namespace with enum (#8591)
  • eslint-plugin: [no-unused-expressions] false negatives when using assertions (#8668)
  • eslint-plugin: [ban-ts-comment] more accurate handling of multiline comments (#8416)
  • eslint-plugin: [explicit-function-return-type, explicit-module-boundary-types] improved checking for allowHigherOrderFunctions option (#8508)
  • eslint-plugin: [class-literal-property-style] ignore property assigned in constructor (#8412)
  • eslint-plugin: [no-unnecessary-type-assertion] fix false negative for const variable declarations (#8558)
  • typescript-estree: fix the issue of single run inferring in the pnpm repo (#3811, #8702)

❤️ Thank You

  • Abraham Guo
  • Alexu
  • Arka Pratim Chaudhuri @arka1002
  • auvred @auvred
  • Derrick Isaacson
  • fnx @DMartens
  • Josh Goldberg ✨
  • Kirk Waiblinger @kirkwaiblinger
  • Marta Cardoso @up201304504
  • Michaël De Boey
  • Tristan Rasmussen
  • YeonJuan @yeonjuan

You can read about our versioning strategy and releases on our website.

typescript-eslint -

Published by JamesHenry 8 months ago

7.2.0 (2024-03-11)

🚀 Features

  • support TS 5.4 (#8630)
  • eslint-plugin: [prefer-string-starts-ends-with] add allowSingleElementEquality option (#8374)

🩹 Fixes

  • eslint-plugin: expose *-type-checked-only configs for extension (#8600)
  • eslint-plugin: [member-ordering] report alphabetical sorting for all groups instead of just the first failing group (#8263)
  • eslint-plugin: [no-var-requires, no-require-imports] support template literal (#8408)
  • eslint-plugin: [no-useless-template-literals] detect TemplateLiteral (#8575)
  • eslint-plugin: [no-unnecessary-condition] handle union array and tuple type (#8592)
  • eslint-plugin: [prefer-find] support ternary branches in prefer-find (#8421)
  • typescript-eslint: set sourceType: "module" in base shared config (#8622)
  • typescript-eslint: export ConfigWithExtends type (#8621)

❤️ Thank You

  • Arka Pratim Chaudhuri @arka1002
  • auvred @auvred
  • Chris Plummer
  • Fotis Papadogeorgopoulos @fpapado
  • Josh Goldberg ✨
  • Kirk Waiblinger @kirkwaiblinger
  • Wayne Zhang
  • YeonJuan @yeonjuan

You can read about our versioning strategy and releases on our website.

typescript-eslint - v7.1.1

Published by typescript-eslint[bot] 8 months ago

7.1.1 (2024-03-04)

🩹 Fixes

  • typescript-eslint: apply ignores to all extended configs passed to config helper function (#8567)

❤️ Thank You

  • auvred @auvred

You can read about our versioning strategy and releases on our website.

typescript-eslint - v7.1.0

Published by typescript-eslint[bot] 8 months ago

7.1.0 (2024-02-26)

🚀 Features

  • eslint-plugin: add *-type-checked-only configs (#8367)
  • eslint-plugin: [naming-convention] support the auto-accessor syntax (#8084)
  • eslint-plugin: [consistent-return] add new rule (#8289)
  • typescript-estree: add debug logs for useProgramFromProjectService (#8426)

🩹 Fixes

  • eslint-plugin: [prefer-optional-chan] allow typeof for avoiding reference error (#8472)
  • eslint-plugin: [no-misused-promises] improve check union types (#8534)
  • eslint-plugin: [no-use-before-define] fix false positive type reference in as, satisfies (#8474)
  • typescript-estree: use simpler absolutify behavior for project service client file paths (#8520)

❤️ Thank You

  • Arka Pratim Chaudhuri @arka1002
  • Josh Goldberg ✨
  • YeonJuan @yeonjuan

You can read about our versioning strategy and releases on our website.

typescript-eslint - v7.0.2

Published by typescript-eslint[bot] 8 months ago

7.0.2 (2024-02-19)

🩹 Fixes

  • fix tsconfig-less check errors, fix @types/eslint incompatibilities, add tests (#8460)
  • utils: use mergeable interface for settings property (#8485)

❤️ Thank You

  • Brad Zacher @bradzacher
  • Gareth Jones @G-Rath

You can read about our versioning strategy and releases on our website.

typescript-eslint - v7.0.1

Published by typescript-eslint[bot] 9 months ago

7.0.1 (2024-02-12)

🩹 Fixes

  • eslint-plugin: update peer dep for parser (#8441)

❤️ Thank You

  • Tim Dorr @timdorr

You can read about our versioning strategy and releases on our website.

typescript-eslint - v7.0.0

Published by typescript-eslint[bot] 9 months ago

7.0.0 (2024-02-12)

Read more about this release: https://typescript-eslint.io/blog/announcing-typescript-eslint-v7/

🚀 Features

  • add support for flat configs (#7935)

🩹 Fixes

  • eslint-plugin: [prefer-find] stop throwing type errors when converting symbols to numbers (#8390)

⚠️ Breaking Changes

  • ⚠️ bump ESLint, NodeJS, and TS minimum version requirements (#8377)

❤️ Thank You

  • Brad Zacher @bradzacher
  • Kirk Waiblinger @kirkwaiblinger
  • StyleShit @StyleShit
  • YeonJuan @yeonjuan

You can read about our versioning strategy and releases on our website.

typescript-eslint - v6.21.0

Published by typescript-eslint[bot] 9 months ago

6.21.0 (2024-02-05)

🚀 Features

  • export plugin metadata (#8331)
  • allow parserOptions.project: false (#8339)
  • eslint-plugin: add rule prefer-find (#8216)
  • typescript-estree: forbid duplicated accessibility modifiers (#8257)
  • utils: improve eslint types (#8344)

🩹 Fixes

  • ast-spec: add JSXElement type to the JSXAttribute['value'] (#8285)
  • eslint-plugin: [no-unused-vars] don't report on types referenced in export assignment expression (#8265)
  • eslint-plugin: [switch-exhaustiveness-check] better support for intersections, infinite types, non-union values (#8250)
  • eslint-plugin: [consistent-type-imports] dont report on types used in export assignment expressions (#8332)
  • eslint-plugin: [no-unnecessary-condition] handle left-hand optional with exactOptionalPropertyTypes option (#8249)
  • eslint-plugin: [class-literal-property-style] allow getter when same key setter exists (#8277)
  • eslint-plugin: [no-unnecessary-type-assertion] provide valid fixes for assertions with extra tokens before as keyword (#8326)
  • rule-tester: fix a phantom dependency on the "semver" package (#8260)

❤️ Thank You

  • auvred @auvred
  • Brad Zacher @bradzacher
  • Kirk Waiblinger @kirkwaiblinger
  • Pete Gonzalez @octogonz
  • YeonJuan @yeonjuan

You can read about our versioning strategy and releases on our website.

typescript-eslint - v6.20.0

Published by typescript-eslint[bot] 9 months ago

6.20.0 (2024-01-29)

🚀 Features

  • eslint-plugin: [member-ordering] allow easy reuse of the default ordering (#8248)

🩹 Fixes

  • eslint-plugin: [no-useless-template-literals] incorrect bigint autofix result (#8283)
  • eslint-plugin: [prefer-nullish-coalescing] treat any/unknown as non-nullable (#8262)
  • eslint-plugin: [no-useless-template-literals] report Infinity & NaN (#8295)
  • eslint-plugin: [prefer-readonly] disable checking accessors (#8300)

❤️ Thank You

  • Alex Parloti @parloti
  • auvred @auvred
  • James Browning
  • StyleShit @StyleShit
  • YeonJuan @yeonjuan

You can read about our versioning strategy and releases on our website.

typescript-eslint - v6.19.1

Published by typescript-eslint[bot] 9 months ago

6.19.1 (2024-01-22)

🩹 Fixes

  • eslint-plugin: [no-unnecessary-condition] fix false positive for type variable (#8235)
  • type-utils: preventing isUnsafeAssignment infinite recursive calls (#8237)

❤️ Thank You

  • YeonJuan @yeonjuan

You can read about our versioning strategy and releases on our website.

typescript-eslint - v6.19.0

Published by typescript-eslint[bot] 10 months ago

6.19.0 (2024-01-15)

🚀 Features

  • eslint-plugin: [prefer-promise-reject-errors] add rule (#8011)
  • eslint-plugin: [no-array-delete] add new rule (#8067)
  • eslint-plugin: [no-useless-template-literals] add fix suggestions (#8065)

🩹 Fixes

  • eslint-plugin: [no-unnecessary-type-assertion] detect unnecessary non-null-assertion on a call expression (#8143)
  • eslint-plugin: [no-unnecesary-type-assertion] treat unknown/any as nullable (#8089)
  • typescript-estree: add JSDocParsingMode enum merge for typescript/lib/tsserverlibrary (#8193)
  • typescript-estree: disallow using as the variable keyword for for..in loops (#7649)
  • typescript-estree: fix incorrect backwards-compat augmentation in TS 5.3 (#8181)

❤️ Thank You

  • auvred @auvred
  • Brad Zacher @bradzacher
  • Josh Goldberg ✨
  • Joshua Chen
  • LJX @lvjiaxuan
  • Steven @Solo-steven
  • StyleShit @StyleShit

You can read about our versioning strategy and releases on our website.

typescript-eslint - v6.18.1

Published by typescript-eslint[bot] 10 months ago

6.18.1 (2024-01-08)

🩹 Fixes

  • eslint-plugin: [no-non-null-assertion] provide valid fix when member access is on next line (#8185)
  • eslint-plugin: [no-unnecessary-condition] improve checking optional callee (#8178)
  • eslint-plugin: [prefer-readonly] support modifiers of unions and intersections (#8169)
  • eslint-plugin: [switch-exhaustiveness-check] fix new allowDefaultCaseForExhaustiveSwitch option (#8176)
  • typescript-estree: fix invalid parsing error when use update expression on non-null assertion (#8202)
  • typescript-estree: only create project service from env setting if project is enabled (#8136)
  • utils: improve error message on typed rule with invalid parser (#8146)

❤️ Thank You

  • auvred @auvred
  • James @Zamiell
  • Josh Goldberg ✨
  • YeonJuan @yeonjuan

You can read about our versioning strategy and releases on our website.

typescript-eslint - v6.18.0

Published by typescript-eslint[bot] 10 months ago

6.18.0 (2024-01-06)

🚀 Features

  • eslint-plugin: [no-var-requires, no-require-imports] allow option (#7710)
  • typescript-estree: throw on invalid update expressions (#7202)
  • typescript-estree: throw error when CatchClause param contains initializer (#8183)

❤️ Thank You

  • auvred @auvred
  • Joshua Chen

You can read about our versioning strategy and releases on our website.

typescript-eslint - v6.17.0

Published by typescript-eslint[bot] 10 months ago

6.17.0 (2024-01-01)

Bug Fixes

  • eslint-plugin: [no-restricted-imports] prevent crash when patterns or paths 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 exhaustive switch (#7539) (6a219bd)

You can read about our versioning strategy and releases on our website.

typescript-eslint - v6.16.0

Published by typescript-eslint[bot] 10 months ago

6.16.0 (2023-12-25)

Bug Fixes

  • eslint-plugin: [unbound-method] exempt all non-Promise built-in statics (#8096) (3182959)

Features

  • eslint-plugin: deprecate formatting rules (#8073) (04dea84)
  • typescript-estree: add allowDefaultProjectForFiles project service allowlist option (#7752) (7ddadda)

You can read about our versioning strategy and releases on our website.

typescript-eslint - v6.15.0

Published by typescript-eslint[bot] 10 months ago

6.15.0 (2023-12-18)

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.