From a6cd6bdc112f4611ed8b1b22de51faaa487c6af0 Mon Sep 17 00:00:00 2001 From: Beatriz Rezener Date: Tue, 23 Jun 2020 12:29:29 -0300 Subject: [PATCH] [docs] `imports-first`: deprecation info and link to `first` docs Closes #1638. Signed-off-by: Beatriz Rezener --- CHANGELOG.md | 2 ++ docs/rules/imports-first.md | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 docs/rules/imports-first.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 8be96cf9d..f126e45d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,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]) +- [docs] [`imports-first`]: deprecation info and link to `first` docs ([#1835], thanks [@beatrizrezener]) ## [2.21.2] - 2020-06-09 ### Fixed @@ -718,6 +719,7 @@ for info on changes for earlier releases. [`memo-parser`]: ./memo-parser/README.md [#1836]: https://github.com/benmosher/eslint-plugin-import/pull/1836 +[#1835]: https://github.com/benmosher/eslint-plugin-import/pull/1835 [#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 diff --git a/docs/rules/imports-first.md b/docs/rules/imports-first.md new file mode 100644 index 000000000..b7f20754a --- /dev/null +++ b/docs/rules/imports-first.md @@ -0,0 +1,3 @@ +# imports-first + +This rule was **deprecated** in eslint-plugin-import v2.0.0. Please use the corresponding rule [`first`](https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/first.md).