Skip to content

Commit d5fc8b6

Browse files
devinrhode2ljharb
authored andcommitted
[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
1 parent 808d504 commit d5fc8b6

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange
1212

1313
### Changed
1414
- [Docs] [`no-duplicates`]: fix example schema ([#2684], thanks [@simmo])
15+
- [Docs] [`group-exports`]: fix syntax highlighting ([#2699], thanks [@devinrhode2])
1516

1617
## [2.27.5] - 2023-01-16
1718

@@ -1064,6 +1065,7 @@ for info on changes for earlier releases.
10641065

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

1068+
[#2699]: https://github.com/import-js/eslint-plugin-import/pull/2699
10671069
[#2664]: https://github.com/import-js/eslint-plugin-import/pull/2664
10681070
[#2613]: https://github.com/import-js/eslint-plugin-import/pull/2613
10691071
[#2608]: https://github.com/import-js/eslint-plugin-import/pull/2608
@@ -1654,6 +1656,7 @@ for info on changes for earlier releases.
16541656
[@darkartur]: https://github.com/darkartur
16551657
[@davidbonnet]: https://github.com/davidbonnet
16561658
[@dbrewer5]: https://github.com/dbrewer5
1659+
[@devinrhode2]: https://github.com/devinrhode2
16571660
[@devongovett]: https://github.com/devongovett
16581661
[@dmnd]: https://github.com/dmnd
16591662
[@duncanbeevers]: https://github.com/duncanbeevers

docs/rules/group-exports.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ test.another = true
6262
module.exports = test
6363
```
6464

65-
```flow js
65+
```ts
6666
const first = true;
6767
type firstType = boolean
6868

@@ -105,7 +105,7 @@ module.exports.first = true
105105
module.exports.second = true
106106
```
107107

108-
```flow js
108+
```ts
109109
type firstType = boolean
110110
type secondType = any
111111

0 commit comments

Comments
 (0)