Skip to content

Commit 9fa6bc9

Browse files
bicstoneljharb
authored andcommitted
[Docs] no-named-as-default: add semicolon
1 parent 4c82ad0 commit 9fa6bc9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
2323

2424
### Changed
2525
- [Generic Import Callback] Make callback for all imports once in rules ([#1237], thanks [@ljqx])
26+
- [Docs] [`no-named-as-default`]: add semicolon ([#1897], thanks [@bicstone])
2627

2728
## [2.22.1] - 2020-09-27
2829
### Fixed
@@ -759,6 +760,7 @@ for info on changes for earlier releases.
759760
[#1948]: https://github.com/benmosher/eslint-plugin-import/pull/1948
760761
[#1947]: https://github.com/benmosher/eslint-plugin-import/pull/1947
761762
[#1940]: https://github.com/benmosher/eslint-plugin-import/pull/1940
763+
[#1897]: https://github.com/benmosher/eslint-plugin-import/pull/1897
762764
[#1889]: https://github.com/benmosher/eslint-plugin-import/pull/1889
763765
[#1878]: https://github.com/benmosher/eslint-plugin-import/pull/1878
764766
[#1854]: https://github.com/benmosher/eslint-plugin-import/issues/1854
@@ -1319,3 +1321,4 @@ for info on changes for earlier releases.
13191321
[@MatthiasKunnen]: https://github.com/MatthiasKunnen
13201322
[@paztis]: https://github.com/paztis
13211323
[@FloEdelmann]: https://github.com/FloEdelmann
1324+
[@bicstone]: https://github.com/bicstone

docs/rules/no-named-as-default.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ For post-ES2015 `export` extensions, this also prevents exporting the default fr
3131

3232
```js
3333
// valid:
34-
export foo from './foo.js'
34+
export foo from './foo.js';
3535

3636
// message: Using exported name 'bar' as identifier for default export.
3737
export bar from './foo.js';

0 commit comments

Comments
 (0)