Skip to content

Commit

Permalink
[patch] TypeScript config: Disable import/named
Browse files Browse the repository at this point in the history
  • Loading branch information
astorije authored and ljharb committed Apr 13, 2020
1 parent fe6cea9 commit 4f1101e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Expand Up @@ -10,6 +10,9 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
- [`group-exports`]: Flow type export awareness ([#1702], thanks [@ernestostifano])
- [`order`]: Recognize pathGroup config for first group ([#1719], [#1724], thanks [@forivall], [@xpl])

### Changed
- TypeScript config: Disable [`named`][] ([#1726], thanks [@astorije])

## [2.20.2] - 2020-03-28
### Fixed
- [`order`]: fix `isExternalModule` detect on windows ([#1651], thanks [@fisker])
Expand Down Expand Up @@ -664,6 +667,7 @@ for info on changes for earlier releases.

[`memo-parser`]: ./memo-parser/README.md

[#1726]: https://github.com/benmosher/eslint-plugin-import/issues/1726
[#1724]: https://github.com/benmosher/eslint-plugin-import/issues/1724
[#1719]: https://github.com/benmosher/eslint-plugin-import/issues/1719
[#1702]: https://github.com/benmosher/eslint-plugin-import/issues/1702
Expand Down Expand Up @@ -1133,3 +1137,4 @@ for info on changes for earlier releases.
[@ernestostifano]: https://github.com/ernestostifano
[@forivall]: https://github.com/forivall
[@xpl]: https://github.com/xpl
[@astorije]: https://github.com/astorije
6 changes: 6 additions & 0 deletions config/typescript.js
Expand Up @@ -19,4 +19,10 @@ module.exports = {
},
},

rules: {
// analysis/correctness

// TypeScript compilation already ensures that named imports exist in the referenced module
'import/named': 'off',
},
}

0 comments on commit 4f1101e

Please sign in to comment.