Skip to content

Commit 5e4aef2

Browse files
committed
Fixed style
1 parent 8436c86 commit 5e4aef2

1 file changed

Lines changed: 14 additions & 7 deletions

File tree

docs/manual/lint.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ description: >-
55
apps.
66
---
77

8-
# Linting
8+
Linting
9+
=======
910

1011
_This package is available since Fedify 2.0.0._
1112

@@ -29,7 +30,8 @@ The plugin includes rules that check for:
2930
[Deno Lint]: https://docs.deno.com/runtime/reference/lint_plugins/
3031
[ESLint]: https://eslint.org/
3132

32-
## Installation
33+
Installation
34+
------------
3335

3436
::: code-group
3537

@@ -55,7 +57,8 @@ bun add -D @fedify/lint
5557

5658
:::
5759

58-
## Deno Lint
60+
Deno Lint
61+
---------
5962

6063
### Basic setup
6164

@@ -108,7 +111,8 @@ deno lint federation.ts
108111
deno lint src/federation/
109112
~~~~
110113

111-
## ESLint
114+
ESLint
115+
------
112116

113117
### Basic setup
114118

@@ -254,7 +258,8 @@ bunx eslint .
254258

255259
:::
256260

257-
## Rules
261+
Rules
262+
-----
258263

259264
### `actor-id-required`
260265

@@ -1076,7 +1081,8 @@ federation.setFollowersDispatcher(
10761081

10771082
[*Filtering by server*]: ./collections.md#filtering-by-server
10781083

1079-
## Example
1084+
Example
1085+
-------
10801086

10811087
Here's an example of code that would trigger lint errors:
10821088

@@ -1127,7 +1133,8 @@ error[fedify-lint/actor-id-mismatch]: Actor's `id` property must match
11271133
`ctx.getActorUri(identifier)`. Ensure you're using the correct context method.
11281134
~~~~
11291135

1130-
## See also
1136+
See also
1137+
--------
11311138

11321139
- [`@fedify/lint` on JSR](https://jsr.io/@fedify/lint)
11331140
- [`@fedify/lint` on npm](https://www.npmjs.com/package/@fedify/lint)

0 commit comments

Comments
 (0)