File tree Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
27
27
- [ readme] Remove duplicate no-unused-modules from docs ([ #1690 ] , thanks [ @arvigeus ] )
28
28
- [ Docs] ` order ` : fix bad inline config ([ #1788 ] , thanks [ @nickofthyme ] )
29
29
- [ Tests] Add fix for Windows Subsystem for Linux ([ #1786 ] , thanks [ @manuth ] )
30
+ - [ Docs] ` no-unused-rules ` : Fix docs for unused exports ([ #1776 ] , thanks [ @barbogast ] )
30
31
31
32
## [ 2.20.2] - 2020-03-28
32
33
### Fixed
@@ -687,6 +688,7 @@ for info on changes for earlier releases.
687
688
[ #1788 ] : https://github.com/benmosher/eslint-plugin-import/pull/1788
688
689
[ #1786 ] : https://github.com/benmosher/eslint-plugin-import/pull/1786
689
690
[ #1785 ] : https://github.com/benmosher/eslint-plugin-import/pull/1785
691
+ [ #1776 ] : https://github.com/benmosher/eslint-plugin-import/pull/1776
690
692
[ #1770 ] : https://github.com/benmosher/eslint-plugin-import/pull/1770
691
693
[ #1764 ] : https://github.com/benmosher/eslint-plugin-import/pull/1764
692
694
[ #1763 ] : https://github.com/benmosher/eslint-plugin-import/pull/1763
@@ -1180,3 +1182,4 @@ for info on changes for earlier releases.
1180
1182
[ @julien1619 ] : https://github.com/julien1619
1181
1183
[ @darkartur ] : https://github.com/darkartur
1182
1184
[ @MikeyBeLike ] : https://github.com/MikeyBeLike
1185
+ [ @barbogast ] : https://github.com/barbogast
Original file line number Diff line number Diff line change @@ -58,28 +58,22 @@ given file-f:
58
58
``` js
59
59
import { e } from ' file-a'
60
60
import { f } from ' file-b'
61
- import * from ' file-c'
62
- export * from ' file-d'
63
- export { default , i0 } from ' file-e' // both will be reported
61
+ import * as fileC from ' file-c'
62
+ export { default , i0 } from ' file-d' // both will be reported
64
63
65
64
export const j = 99 // will be reported
66
65
```
67
- and file-e :
66
+ and file-d :
68
67
``` js
69
68
export const i0 = 9 // will not be reported
70
69
export const i1 = 9 // will be reported
71
70
export default () => {} // will not be reported
72
71
```
73
- and file-d :
72
+ and file-c :
74
73
``` js
75
74
export const h = 8 // will not be reported
76
75
export default () => {} // will be reported, as export * only considers named exports and ignores default exports
77
76
```
78
- and file-c:
79
- ``` js
80
- export const g = 7 // will not be reported
81
- export default () => {} // will not be reported
82
- ```
83
77
and file-b:
84
78
``` js
85
79
import two , { b , c , doAnything } from ' file-a'
You can’t perform that action at this time.
0 commit comments