4.32.0 (2021-09-27)
Bug Fixes
- eslint-plugin: [consistent-type-definitions] correct fix for
export default
(#3899) (ebb33ed) - eslint-plugin: [no-require-imports] report only global
require
(#3871) (8aa87a1) - eslint-plugin: [no-shadow] ignore type-only imports properly (#3868) (dda9cee)
- eslint-plugin: [no-var-requires] report problems within
NewExpression
(#3884) (ed5e459) - eslint-plugin: [padding-line-between-statements] problems within namespaces not being reported (#3869) (1861356)
- eslint-plugin: [prefer-regexp-exec] respect flags when using
RegExp
(#3855) (ffdb5ff) - eslint-plugin: [prefer-return-this-type] handle generics properly in fixer (#3852) (9e98b8f)
- eslint-plugin: false-positive/negative with array index in no-unnecessary-condition (#3805) (bdb8f0b)
- experimental-utils: add missing signature for
isParenthesized
(#3887) (806eaac)
Features
- eslint-plugin: [no-type-alias]: add allowGenerics option (#3865) (4195919)
- eslint-plugin: add
no-non-null-asserted-nullish-coalescing
rule (#3349) (4e99961) - eslint-plugin: add new extended rule
no-restricted-imports
(#3775) (ec5d506) - eslint-plugin-internal: [prefer-ast-types-enum] add
DefinitionType
enum (#3916) (13b7de5) - Support
'latest'
asecmaVersion
(#3873) (25a42c0)