You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/cli/docs/custom-plugins.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,13 +26,13 @@ export default {
26
26
27
27
## Plugin Structure
28
28
29
-
Every plugin is defined in [`PluginConfig`](@TODO - link models) object.
29
+
Every plugin is defined in [`PluginConfig`](../../models/docs/core-config-types.md) object.
30
30
31
31
The plugin configuration contains:
32
32
33
-
- metadata about the plugin [`PluginMeta`](@TODO - link models)
34
-
- metadata about the available [audit](#audits)[`Audit`](@TODO - link models)
35
-
- a [runner](#plugin-runner) that maintains the internal logic that produces the [plugin output](#plugin-output) as [`AuditOutputs`](@TODO - link models).
33
+
- metadata about the plugin [`PluginMeta`](../../models/docs/core-config-types.md)
34
+
- metadata about the available [audit](#audits)[`Audit`](../../models/docs/core-config-types.md)
35
+
- a [runner](#plugin-runner) that maintains the internal logic that produces the [plugin output](#plugin-output) as [`AuditOutputs`](../../models/docs/core-config-types.md).
36
36
- optional [`groups`](#audit-groups) to pre score audits
37
37
38
38
See the following example that shows a minimal implementation of a custom plugin containing all required fields:
The `runner` property defines the core of a plugin.
143
-
It also serves as the entry point of your plugin and is executed by the CLI. It should return the audit results as [`AuditOutputs`](@TODO - link models).
143
+
It also serves as the entry point of your plugin and is executed by the CLI. It should return the audit results as [`AuditOutputs`](../../models/docs/core-config-types.md).
0 commit comments