Skip to content

Commit

Permalink
[Docs] group-exports: fix syntax highlighting
Browse files Browse the repository at this point in the history
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
  • Loading branch information
devinrhode2 authored and ljharb committed Jan 31, 2023
1 parent 808d504 commit d5fc8b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/rules/group-exports.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ test.another = true
module.exports = test
```

```flow js
```ts
const first = true;
type firstType = boolean

Expand Down Expand Up @@ -105,7 +105,7 @@ module.exports.first = true
module.exports.second = true
```

```flow js
```ts
type firstType = boolean
type secondType = any

Expand Down

0 comments on commit d5fc8b6

Please sign in to comment.