Skip to content

Commit

Permalink
[Docs] no-named-as-default: add semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
bicstone authored and ljharb committed Sep 12, 2020
1 parent 4c82ad0 commit 9fa6bc9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Expand Up @@ -23,6 +23,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel

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

## [2.22.1] - 2020-09-27
### Fixed
Expand Down Expand Up @@ -759,6 +760,7 @@ for info on changes for earlier releases.
[#1948]: https://github.com/benmosher/eslint-plugin-import/pull/1948
[#1947]: https://github.com/benmosher/eslint-plugin-import/pull/1947
[#1940]: https://github.com/benmosher/eslint-plugin-import/pull/1940
[#1897]: https://github.com/benmosher/eslint-plugin-import/pull/1897
[#1889]: https://github.com/benmosher/eslint-plugin-import/pull/1889
[#1878]: https://github.com/benmosher/eslint-plugin-import/pull/1878
[#1854]: https://github.com/benmosher/eslint-plugin-import/issues/1854
Expand Down Expand Up @@ -1319,3 +1321,4 @@ for info on changes for earlier releases.
[@MatthiasKunnen]: https://github.com/MatthiasKunnen
[@paztis]: https://github.com/paztis
[@FloEdelmann]: https://github.com/FloEdelmann
[@bicstone]: https://github.com/bicstone
2 changes: 1 addition & 1 deletion docs/rules/no-named-as-default.md
Expand Up @@ -31,7 +31,7 @@ For post-ES2015 `export` extensions, this also prevents exporting the default fr

```js
// valid:
export foo from './foo.js'
export foo from './foo.js';

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

0 comments on commit 9fa6bc9

Please sign in to comment.