v2.31.0
Added
- support eslint v9 (#2996, thanks @G-Rath @michaelfaith)
order: allow validating named imports (#3043, thanks @manuth)extensions: add thecheckTypeImportsoption (#2817, thanks @phryneas)
Fixed
ExportMap/ flat config: includelanguageOptionsin context (#3052, thanks @michaelfaith)no-named-as-default: Allow using an identifier if the export is both a named and a default export (#3032, thanks @akwodkiewicz)export: False positive for exported overloaded functions in TS (#3065, thanks @liuxingbaoyu)exportMap: export map cache is tainted by unreliable parse results (#3062, thanks @michaelfaith)exportMap: improve cacheKey when using flat config (#3072, thanks @michaelfaith)- adjust "is source type module" checks for flat config (#2996, thanks @G-Rath)
Changed
- [Docs]
no-relative-packages: fix typo (#3066, thanks @joshuaobrien) - [Performance]
no-cycle: dont scc for each linted file (#3068, thanks @soryy708) - [Docs]
no-cycle: adddisableSccto docs (#3070, thanks @soryy708) - [Tests] use re-exported
RuleTester(#3071, thanks @G-Rath) - [Docs]
no-restricted-paths: fix grammar (#3073, thanks @unbeauvoyage) - [Tests]
no-default-export,no-named-export: add test case (thanks @G-Rath)