4.1.0 (2020-09-07)
Bug Fixes
- eslint-plugin: [explicit-module-boundary-types] cyclical reference infinite recursion crash (#2482) (8693653)
- eslint-plugin: [no-unused-vars] correct detection of unused vars in a declared module with
export =
(#2505) (3d07a99) - eslint-plugin: [no-unused-vars] properly handle ambient declaration exports (#2496) (4d3ce5f)
- eslint-plugin: [no-use-before-define] false positive with jsx pragma reference (#2503) (5afeeab), closes #2502
- eslint-plugin: [typedef] false positive for rest parameter with array destructuring (#2441) (2ada5af)
- eslint-plugin: handle missing message IDs in eslint v5/v6 (#2461) (ffdfade)
- scope-manager: add
const
as a global type variable (#2499) (eb3f6e3) - scope-manager: correctly handle inferred types in nested type scopes (#2497) (95f6bf4)
- scope-manager: don't create references for intrinsic JSX elements (#2504) (cdb9807)
- scope-manager: fallback to lib 'esnext' or 'es5' when ecma version is unsupported (#2474) (20a7dcc)
- scope-manager: support rest function type parameters (#2491) (9d8b4c4), closes #2449
- scope-manager: support tagged template string generic type parameters (#2492) (a2686c0)
- scope-manager: support type predicates (#2493) (a40f54c), closes #2462
- scope-manager: treat type imports as both values and types (#2494) (916e95a), closes #2453