### Required

[\[1\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/InlineGraphSettingTab.ts#L18-L18)[\[2\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/InlineGraphSettingTab.ts#L19-L19)[\[3\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/main.ts#L33-L33)[\[4\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/main.ts#L82-L82)[\[5\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/main.ts#L86-L86)[\[6\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/main.ts#L101-L101)[\[7\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/main.ts#L155-L155)
Unexpected console statement. Only these console methods are allowed: warn, error, debug.

[\[1\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/InlineGraphSettingTab.ts#L23-L23)[\[2\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/InlineGraphSettingTab.ts#L63-L63)[\[3\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/InlineGraphSettingTab.ts#L74-L74)[\[4\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/InlineGraphSettingTab.ts#L85-L85)[\[5\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/InlineGraphView.ts#L26-L26)[\[6\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/InlineGraphView.ts#L31-L31)[\[7\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/InlineGraphView.ts#L97-L97)[\[8\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/main.ts#L54-L54)
Use sentence case for UI text.

[\[1\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/InlineGraphView.ts#L7-L7)[\[2\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/InlineGraphView.ts#L7-L7)
Unexpected any. Specify a different type.

[\[1\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/main.ts#L5-L5)
Rename the sample classes.

[\[1\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/main.ts#L61-L61)
The command ID should not include the plugin ID.

[\[1\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/main.ts#L71-L71)
Creating and attaching "link" elements is not allowed. For loading CSS, use a "styles.css" file instead, which Obsidian loads for you.

[\[1\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/main.ts#L84-L84)[\[2\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/main.ts#L146-L146)[\[3\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/main.ts#L147-L147)[\[4\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/main.ts#L149-L149)
`activeLeaf` is deprecated. The use of this field is discouraged.
The recommended alternatives are:
- If you need information about the current view, use {@link Workspace.getActiveViewOfType}.
- If you need to open a new file or navigate a view, use {@link Workspace.getLeaf}.

[\[1\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/main.ts#L106-L106)[\[2\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/main.ts#L122-L122)
This assertion is unnecessary since it does not change the type of the expression.



---

### Optional

[\[1\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/InlineGraphView.ts#L1-L1)
'Notice' is defined but never used.

[\[1\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/InlineGraphView.ts#L1-L1)
'TFile' is defined but never used.

[\[1\]](https://github.com/TKOxff/obsidian-inline-local-graph/blob/ff358e416888be96c882855e38cf0e165cd86998/src/main.ts#L1-L1)
'App' is defined but never used.

