@@ -10,6 +10,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
10
10
- [ ` no-commonjs ` ] : Also detect require calls with expressionless template literals: ``` require(`x`) ``` ([ #1958 ] , thanks [ @FloEdelmann ] )
11
11
- [ ` no-internal-modules ` ] : Add ` forbid ` option ([ #1846 ] , thanks [ @guillaumewuip ] )
12
12
- add [ ` no-relative-packages ` ] ([ #1860 ] , [ #966 ] , thanks [ @tapayne88 ] [ @panrafal ] )
13
+ - add [ ` no-import-module-exports ` ] rule: report import declarations with CommonJS exports ([ #804 ] , thanks [ @kentcdodds ] and [ @ttmarek ] )
13
14
14
15
### Fixed
15
16
- [ ` export ` ] /TypeScript: properly detect export specifiers as children of a TS module block ([ #1889 ] , thanks [ @andreubotella ] )
@@ -732,6 +733,7 @@ for info on changes for earlier releases.
732
733
[ `no-duplicates` ] : ./docs/rules/no-duplicates.md
733
734
[ `no-dynamic-require` ] : ./docs/rules/no-dynamic-require.md
734
735
[ `no-extraneous-dependencies` ] : ./docs/rules/no-extraneous-dependencies.md
736
+ [ `no-import-module-exports` ] : ./docs/rules/no-import-module-exports.md
735
737
[ `no-internal-modules` ] : ./docs/rules/no-internal-modules.md
736
738
[ `no-mutable-exports` ] : ./docs/rules/no-mutable-exports.md
737
739
[ `no-named-as-default-member` ] : ./docs/rules/no-named-as-default-member.md
@@ -908,6 +910,7 @@ for info on changes for earlier releases.
908
910
[ #871 ] : https://github.com/benmosher/eslint-plugin-import/pull/871
909
911
[ #858 ] : https://github.com/benmosher/eslint-plugin-import/pull/858
910
912
[ #843 ] : https://github.com/benmosher/eslint-plugin-import/pull/843
913
+ [ #804 ] : https://github.com/benmosher/eslint-plugin-import/pull/804
911
914
[ #797 ] : https://github.com/benmosher/eslint-plugin-import/pull/797
912
915
[ #794 ] : https://github.com/benmosher/eslint-plugin-import/pull/794
913
916
[ #744 ] : https://github.com/benmosher/eslint-plugin-import/pull/744
@@ -1330,4 +1333,5 @@ for info on changes for earlier releases.
1330
1333
[ @bicstone ] : https://github.com/bicstone
1331
1334
[ @guillaumewuip ] : https://github.com/guillaumewuip
1332
1335
[ @tapayne88 ] : https://github.com/tapayne88
1333
- [ @panrafal ] : https://github.com/panrafal
1336
+ [ @panrafal ] : https://github.com/panrafal
1337
+ [ @ttmarek ] : https://github.com/ttmarek
0 commit comments