Skip to content

Commit

Permalink
[docs] no-default-export: Fix docs url
Browse files Browse the repository at this point in the history
Added docsUrl to no-default-export rule

Closes #1769

Signed-off-by: Beatriz Rezener <beatrizrezener@gmail.com>
  • Loading branch information
beatrizrezener authored and ljharb committed Jun 23, 2020
1 parent c38b169 commit 2468f10
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Expand Up @@ -19,6 +19,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel

### Changed
- [`no-extraneous-dependencies`]: add tests for importing types ([#1824], thanks [@taye])
- [docs] [`no-default-export`]: Fix docs url ([#1836], thanks [@beatrizrezener])

## [2.21.2] - 2020-06-09
### Fixed
Expand Down Expand Up @@ -716,6 +717,7 @@ for info on changes for earlier releases.

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

[#1836]: https://github.com/benmosher/eslint-plugin-import/pull/1836
[#1833]: https://github.com/benmosher/eslint-plugin-import/pull/1833
[#1831]: https://github.com/benmosher/eslint-plugin-import/pull/1831
[#1830]: https://github.com/benmosher/eslint-plugin-import/pull/1830
Expand Down Expand Up @@ -1244,3 +1246,4 @@ for info on changes for earlier releases.
[@AndrewLeedham]: https://github.com/AndrewLeedham
[@be5invis]: https://github.com/be5invis
[@noelebrun]: https://github.com/noelebrun
[@beatrizrezener]: https://github.com/beatrizrezener
6 changes: 5 additions & 1 deletion src/rules/no-default-export.js
@@ -1,7 +1,11 @@
import docsUrl from '../docsUrl'

module.exports = {
meta: {
type: 'suggestion',
docs: {},
docs: {
url: docsUrl('no-default-export'),
},
schema: [],
},

Expand Down

0 comments on commit 2468f10

Please sign in to comment.