📄️ ESLint plugin
The eslint-plugin-obsidian package provides ESLint rules for Obsidian. These rules help you catch common mistakes and enforce best practices when using Obsidian.
📄️ Clearing graphs
Graphs can be cleared by invoking the Obsidian.clearGraphs() function. This is useful in tests or when you need to reset the system to it's original state, for example after a user logs out.
📄️ Graph middlewares
Graph middlewares let you plug into the graph creation process and modify the graph in any way you want. This is useful when working on large scale applications where "observability" is a key concern. For example, you can use a middleware to swizzle providers, add logging, or even add a new provider to the graph.