Sourced from eslint-plugin-import's changelog.
[2.26.0] - 2022-04-05
Added
- [
no-named-default,no-default-export,prefer-default-export,no-named-export,export,named,namespace,no-unused-modules]: support arbitrary module namespace names (https://github.com/facebook/flipper/issues/2358, thanks [@sosukesuzuki])- [
no-dynamic-require]: support dynamic import with espree (https://github.com/facebook/flipper/issues/2371, thanks [@sosukesuzuki])- [
no-relative-packages]: add fixer (https://github.com/facebook/flipper/issues/2381, thanks [@forivall])Fixed
- [
default]:typescript-eslint-parser: avoid a crash on exporting as namespace (thanks [@ljharb])- [
export]/TypeScript: false positive for typescript namespace merging (https://github.com/facebook/flipper/issues/1964, thanks [@magarcia])- [
no-duplicates]: ignore duplicate modules in different TypeScript module declarations (https://github.com/facebook/flipper/issues/2378, thanks [@remcohaszing])- [
no-unused-modules]: avoid a crash when processing re-exports (https://github.com/facebook/flipper/issues/2388, thanks [@ljharb])Changed
- [Tests]
no-nodejs-modules: add tests for node protocol URL (https://github.com/facebook/flipper/issues/2367, thanks [@sosukesuzuki])- [Tests]
default,no-anonymous-default-export,no-mutable-exports,no-named-as-default-member,no-named-as-default: add tests for arbitrary module namespace names (https://github.com/facebook/flipper/issues/2358, thanks [@sosukesuzuki])- [Docs] [
no-unresolved]: Fix RegExp escaping in readme (https://github.com/facebook/flipper/issues/2332, thanks [@stephtr])- [Refactor]
namespace: try to improve performance (https://github.com/facebook/flipper/issues/2340, thanks [@ljharb])- [Docs] make rule doc titles consistent (https://github.com/facebook/flipper/issues/2393, thanks [
@TheJaredWilcurt])- [Docs]
order: TS code examples should use TS code blocks (https://github.com/facebook/flipper/issues/2411, thanks [@MM25Zamanian])- [Docs]
no-unresolved: fix link (https://github.com/facebook/flipper/issues/2417, thanks [@kylemh])
d160285 Bump to 2.26.00e80ee3 [Deps] update tsconfig-pathsd8633c3 [Docs] no-unresolved: fix link98bbb2c [Docs] order: TS code examples should use TS code blocks21304bd [Deps] update tsconfig-paths8b7000e [Fix] no-unused-modules: avoid a crash when processing re-exports747d6dc [Docs] make rule doc titles consistentb0e6f7f [Refactor] namespace: try to improve performance00a4ede [Deps] update minimatch35bd3a5 [Dev Deps] update angular-eslint/template-parser, chai