Releases: typescript-eslint/typescript-eslint
Releases · typescript-eslint/typescript-eslint
v4.9.0
4.9.0 (2020-11-30)
Bug Fixes
- eslint-plugin: [consistent-indexed-object-style] convert readonly index signature to readonly record (#2798) (29428a4)
- eslint-plugin: [consistent-type-imports] crash when using both default and namespace in one import (#2778) (c816b84)
- eslint-plugin: [explicit-module-boundary-types] ignore functions exported within typed object/array literals (#2805) (73a63ee)
- eslint-plugin: [no-use-before-define] allow class references if they're within a class decorator (#2827) (050023a), closes #2842
- eslint-plugin: [triple-slash-reference] fix crash with external module reference (#2788) (32b1b68)
- scope-manager: fix assertion assignments not being marked as write references (#2809) (fa68492), closes #2804
- typescript-estree: add default value for
parserOptions.projectFolderIgnoreList
and deduplicate resolved projects (#2819) (bf904ec), closes #2418 #2814
Features
- eslint-plugin: [naming-convention] add
requireDouble
,allowDouble
,allowSingleOrDouble
options for underscores (#2812) (dd0576a) - eslint-plugin: [naming-convention] add
requiresQuotes
modifier (#2813) (6fc8409), closes #2761 #1483 - eslint-plugin: [naming-convention] add modifier
unused
(#2810) (6a06944) - eslint-plugin: [naming-convention] add modifiers
exported
,global
, anddestructured
(#2808) (fb254a1), closes #2239 #2512 #2318 #2802 - eslint-plugin: [naming-convention] allow
destructured
modifier forparameter
selector (#2829) (525d2ff), closes #2828 - eslint-plugin: [naming-convention] split
property
andmethod
selectors into more granularclassXXX
,objectLiteralXXX
,typeXXX
(#2807) (665b6d4), closes #1477 #2802 - eslint-plugin: [no-unused-vars] fork the base rule (#2768) (a8227a6), closes #2782 #2714 #2648
- eslint-plugin: [unbound-method] add support for methods with a
this: void
parameter (#2796) (878dd4a)
v4.8.2
v4.8.1
v4.8.0
4.8.0 (2020-11-16)
Bug Fixes
- eslint-plugin: [consistent-type-definitions] remove fixer when the interface is within a global module declaration (#2739) (2326238)
- eslint-plugin: [no-unsafe-member-access] ignore MemberExpression's whose parents are either TSClassImplements or TSInterfaceHeritage (#2753) (535db3b)
Features
v4.7.0
v4.6.1
v4.6.0
4.6.0 (2020-10-26)
Bug Fixes
- eslint-plugin: [method-signature-style] correct fixer for overloads in an object literal type (#2708) (0763913)
- eslint-plugin: [method-signature-style] don't auto-fix interfaces within namespaces (#2678) (e012049)
- eslint-plugin: [prefer-string-starts-ends-with] Check negative indices in the second position for slice (#2696) (66e9c6e)
Features
v4.5.0
4.5.0 (2020-10-19)
Bug Fixes
- eslint-plugin: [array-type] fix issues with readonly option (#2667) (63d1d81)
- eslint-plugin: [lines-between-class-members] fix typo in schema (#2681) (a2a2514)
- eslint-plugin: [naming-convention] check bodyless function parameters (#2675) (c505863)
- eslint-plugin: [no-invalid-this] allow "this" in class property definitions (#2685) (dccb6ee)
- eslint-plugin: [no-misused-promises] False negative in LogicalExpression (#2682) (30a6951), closes #2544
- eslint-plugin: [no-unnecessary-type-assertion] correct fixer for vue files (#2680) (55111af)
- eslint-plugin: [return-await] do not auto-fix when type is
any
/unknown
(#2671) (d690c8d) - parser: minor fix regexp, map-filter to reduce (#2684) (f1329f6)
Features
- eslint-plugin: [dot-notation] add
allowProtectedClassPropertyAccess
option (#2622) (bbc9e35) - eslint-plugin: [prefer-readonly-parameter-types] add
ignoreInferredTypes
option (#2668) (91010e8) - eslint-plugin: [restrict-plus-operands] add intersection type determination logic (#2628) (da71362)
- typescript-estree: add flag EXPERIMENTAL_useSourceOfProjectReferenceRedirect (#2669) (90a5878)
v4.4.1
4.4.1 (2020-10-12)
Bug Fixes
- eslint-plugin: [ban-ts-comment] support block comments (#2644) (9c3c686)
- eslint-plugin: [ban-types] allow banning types with specific parameters (#2662) (77732a2)
- eslint-plugin: [consistent-type-assertions] check type assertion in jsx props (#2653) (393e925)
- eslint-plugin: [no-duplicate-imports] distinguish member, default (#2637) (c71f423)
- eslint-plugin: [no-throw-literal] false positive with logical expressions (#2645) (57aa6c7)
- eslint-plugin: [no-unused-vars] fix false positives for duplicated names in namespaces (#2659) (0d696c7)
- eslint-plugin: [no-use-before-define] correctly handle typeof type references (#2623) (8e44c78)
- scope-manager: don't create a variable for global augmentation (#2639) (6bc9325)