Releases: typescript-eslint/typescript-eslint
Releases · typescript-eslint/typescript-eslint
v2.31.0
2.31.0 (2020-05-04)
Bug Fixes
- eslint-plugin: [dot-notation] handle missing declarations (#1947) (383f931)
- eslint-plugin: [method-signature-style] fix overloaded methods to an intersection type (#1966) (7f3fba3)
- eslint-plugin: [return-await] await in a normal function (#1962) (f82fd7b)
- eslint-plugin: [unbound-method] false positives for unary expressions (#1964) (b35070e)
- eslint-plugin: no-base-to-string boolean expression detect (#1969) (f78f13a)
Features
- eslint-plugin: [member-ordering] add decorators support (#1870) (f7ec192)
- eslint-plugin: [prefer-optional-chain] added option to convert to suggestion fixer (#1965) (2f0824b)
- eslint-plugin: new extended rule 'no-invalid-this' (#1823) (b18bc35)
- eslint-plugin-internal: add rule no-poorly-typed-ts-props (#1949) (56ea7c9)
- experimental-utils: expose our RuleTester extension (#1948) (2dd1638)
v2.30.0
v2.29.0
2.29.0 (2020-04-20)
Bug Fixes
- eslint-plugin: [no-base-to-string] soft remove
ignoreTaggedTemplateExpressions
option (#1916) (369978e)
Features
- eslint-plugin: [no-floating-promise] add option to ignore IIFEs (#1799) (cea51bf)
- eslint-plugin: [restrict-template-expressions] add support for intersection types (#1803) (cc70e4f)
- eslint-plugin: add extension rule
init-declarations
(#1814) (b01f5e7) - eslint-plugin: add extension rule
keyword-spacing
(#1739) (c5106dd)
v2.28.0
2.28.0 (2020-04-13)
Bug Fixes
- eslint-plugin: [method-signature-style] handle multiline params (#1861) (5832a86)
- eslint-plugin: [no-empty-interface] use suggestion fixer for ambient contexts (#1880) (62b2278)
- eslint-plugin: [unbound-method] false positive on property function initializer (#1890) (f1c3b18)
- eslint-plugin: [unbound-method] ignore assignments to methods (#1736) (6b4680b)
- eslint-plugin: no-empty-interface autofix (#1865) (829a2f7), closes #1864
- eslint-plugin: use
isTypeArrayTypeOrUnionOfArrayTypes
util for checking if type is array (#1728) (05030f8)
Features
- eslint-plugin: [ban-ts-comment] support
ts-expect-error
(#1706) (469cff3) - eslint-plugin: [consistent-type-assertions] always allow
const
assertions (#1713) (af2c00d) - eslint-plugin: [explicit-function-return-type] add option to allow concise arrows that start with void (#1732) (2e9c202)
- eslint-plugin: feat(eslint-plugin): [explicit-module-boundary-types] add option
shouldTrackReferences
(#1778) (3eee804) - eslint-plugin: [no-base-to-string] add option to ignore tagged templates (#1763) (f5edb99)
- eslint-plugin: [restrict-template-expressions] add option
allowAny
(#1762) (d44c0f9) - eslint-plugin: add rule
prefer-reduce-type-parameter
(#1707) (c92d240) - eslint-plugin: add rule
prefer-ts-expect-error
(#1705) (7021f21) - eslint-plugin: add rule no-unsafe-assignment (#1694) (a49b860)
v2.27.0
2.27.0 (2020-04-06)
Bug Fixes
- eslint-plugin: [no-throw-literal] fix crash caused by getBaseTypes (#1830) (9d53c76)
- eslint-plugin: [no-unsafe-call] fix incorrect selector (#1826) (8ec53a3)
- eslint-plugin: [require-await] handle async generators (#1782) (9642d9d)
- eslint-plugin: [no-explicit-any] constructor functions (& more) not ignored by ignoreRestArgs property (#1711) (ab8572e)
- typescript-estree: add support for TS3.9 extra file extensions (#1833) (1f0ff41)
Features
- eslint-plugin: new rule method-signature-style (#1685) (c49d771)
- eslint-plugin: [member-ordering] sort members alphabetically (#263) (485e902)
- eslint-plugin-internal: add plugin-test-formatting rule (#1821) (9b0023a)
- experimental-utils: add types for suggestions from CLIEngine (#1844) (7c11bd6)
- experimental-utils: update eslint types to match v6.8 (#1846) (16ce74d)
v2.26.0
v2.25.0
2.25.0 (2020-03-23)
Bug Fixes
- only run publish_canary_version on master (3814d4e)
- eslint-plugin: [quotes] false positive with backtick in import equals statement (#1769) (199863d)
- eslint-plugin: fix message of no-base-to-string (#1755) (6646959)
- eslint-plugin-tslint: fix tslintConfig memoization key (#1719) (abf1a2f), closes typescript-eslint#1692
- typescript-estree: export * regression from 133f622 (#1751) (09d8afc)
Features
- eslint-plugin: [no-unnec-type-assertion] allow const assertions (#1741) (f76a1b3)
- eslint-plugin: [no-unnecessary-condition] ignore basic array indexing false positives (#1534) (2b9603d)
- eslint-plugin: add
class-literal-property-style
rule (#1582) (b2dbd89) - experimental-utils: expose ast utility functions (#1670) (3eb5d45)
v2.24.0
v2.23.0
2.23.0 (2020-03-09)
Bug Fixes
- eslint-plugin: [prefer-readonly-parameter-types] handle recursive types (#1672) (e5db36f), closes #1665
- eslint-plugin: [type-annotation-spacing] handle constructor types (#1664) (fbf1640), closes #1663
- eslint-plugin: fix autofixer for computed properties (#1662) (ba22ea7)
- eslint-plugin: fix placeholder in
ban-ts-comment
(#1703) (144345c)
Features
- eslint-plugin: [no-unsafe-call] support tagged templates (#1680) (55a58ff)
- eslint-plugin: [no-unsafe-member-access] report any typed computed prop access (#1683) (1543117)
- eslint-plugin: add rule no-unsafe-call (#1647) (91423e4)
- eslint-plugin: add rule no-unsafe-member-access (#1643) (608a750)
- eslint-plugin: add rule no-unsafe-return (#1644) (cfc3ef1)
- typescript-estree: support 3.8 import/export type (#1697) (625d603)
v2.22.0
2.22.0 (2020-03-02)
Bug Fixes
- eslint-plugin: [ban-types] add option extendDefaults (#1379) (ae7f7c5)
- eslint-plugin: [default-param-last] handle param props (#1650) (3534c6e)
- eslint-plugin: [no-implied-eval] correct logic for ts3.8 (#1652) (33e3e6f)
Features
- eslint-plugin: [explicit-member-accessibility] autofix no-public (#1548) (dd233b5)
- eslint-plugin: [typedef] add variable-declaration-ignore-function (#1578) (fc0a55e)
- eslint-plugin: add new no-base-to-string rule (#1522) (8333d41)
- eslint-plugin: add prefer-readonly-parameters (#1513) (3be9854)
- eslint-plugin: additional annotation spacing rules for va… (#1496) (b097245)