From d5fc8b670dc8e6903dbb7b0894452f60c03089f5 Mon Sep 17 00:00:00 2001 From: Devin Rhode Date: Tue, 31 Jan 2023 10:12:37 -0600 Subject: [PATCH] [Docs] `group-exports`: fix syntax highlighting These snippets didn't have any syntax highlighting: First chunk: https://share.cleanshot.com/spXGCRRGJkpBsLGLPk7k Second chunk: https://share.cleanshot.com/vhRsmDnxCd7PZfFfLLhh I searched codebase for any other ```flow js code blocks, but there were only these two from this file: https://share.cleanshot.com/xY7W9TJTXPrJ8ngtf6Kr --- CHANGELOG.md | 3 +++ docs/rules/group-exports.md | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b1999bb26..c16d2c9ffa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange ### Changed - [Docs] [`no-duplicates`]: fix example schema ([#2684], thanks [@simmo]) +- [Docs] [`group-exports`]: fix syntax highlighting ([#2699], thanks [@devinrhode2]) ## [2.27.5] - 2023-01-16 @@ -1064,6 +1065,7 @@ for info on changes for earlier releases. [`memo-parser`]: ./memo-parser/README.md +[#2699]: https://github.com/import-js/eslint-plugin-import/pull/2699 [#2664]: https://github.com/import-js/eslint-plugin-import/pull/2664 [#2613]: https://github.com/import-js/eslint-plugin-import/pull/2613 [#2608]: https://github.com/import-js/eslint-plugin-import/pull/2608 @@ -1654,6 +1656,7 @@ for info on changes for earlier releases. [@darkartur]: https://github.com/darkartur [@davidbonnet]: https://github.com/davidbonnet [@dbrewer5]: https://github.com/dbrewer5 +[@devinrhode2]: https://github.com/devinrhode2 [@devongovett]: https://github.com/devongovett [@dmnd]: https://github.com/dmnd [@duncanbeevers]: https://github.com/duncanbeevers diff --git a/docs/rules/group-exports.md b/docs/rules/group-exports.md index c5a23cd218..67e76de2fe 100644 --- a/docs/rules/group-exports.md +++ b/docs/rules/group-exports.md @@ -62,7 +62,7 @@ test.another = true module.exports = test ``` -```flow js +```ts const first = true; type firstType = boolean @@ -105,7 +105,7 @@ module.exports.first = true module.exports.second = true ``` -```flow js +```ts type firstType = boolean type secondType = any