Skip to content

Commit e3e66ce

Browse files
committed
Link dependencies key with notes (closes #1764)
1 parent dfc4011 commit e3e66ce

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

packages/docs/src/content/docs/reference/issue-types.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Knip reports the following types of issues:
99
| :----------------------------------- | :--------------------------------------------------------- | ----- | :----------------- |
1010
| Unused files | Unable to find a reference to this file | 🔧 | `files` |
1111
| Unused dependencies | Unable to find a reference to this dependency | 🔧 | `dependencies` |
12-
| Unused devDependencies | Unable to find a reference to this devDependency | 🔧 | `dependencies` |
13-
| Referenced optional peerDependencies | Optional peer dependency is referenced | | `dependencies` |
12+
| Unused devDependencies | Unable to find a reference to this devDependency | 🔧 | `dependencies`² |
13+
| Referenced optional peerDependencies | Optional peer dependency is referenced | | `dependencies`² |
1414
| Unlisted dependencies | Used dependencies not listed in package.json | | `unlisted` |
1515
| Unlisted binaries | Binaries from dependencies not listed in package.json | | `binaries` |
1616
| Unused catalog entries | Unable to find a reference to this catalog entry | 🔧 | `catalog` |
@@ -32,12 +32,12 @@ Knip reports the following types of issues:
3232

3333
## Notes
3434

35-
- When an issue type has zero issues, it is not shown.
36-
- Including or excluding `dependencies` (via CLI or configuration) automatically
37-
includes or excludes `devDependencies` and `optionalPeerDependencies`. In
38-
[rules][3], each key can be set individually.
39-
- In [strict production mode][4], `devDependencies` are not included.
40-
- The `types` issue type includes `enum`, `interface` and `type` exports.
35+
1. When an issue type has zero issues, it is not shown.
36+
2. Including or excluding `dependencies` (via CLI or configuration) automatically
37+
includes or excludes `devDependencies` and `optionalPeerDependencies`. In
38+
[rules][3], each key can be set individually.
39+
3. In [strict production mode][4], `devDependencies` are not included.
40+
4. The `types` issue type includes `enum`, `interface` and `type` exports.
4141

4242
[1]: ../features/auto-fix.mdx
4343
[2]: ../features/rules-and-filters.md#filters

0 commit comments

Comments
 (0)