Brought to you by Allons-y Studio

Type Alias: CleanupSuggestion

type CleanupSuggestion = {
  command?: SuggestionCommand;
  hint?: string;
  kind: "dependency" | "file" | "setting";
  reason: string;
  target: string;
};

Defined in: detector.ts:138

Something a plugin says the project no longer needs now that the plugin is enabled.

Properties

Property Type Description Defined in
command? SuggestionCommand A command that does the tool-specific part, for files and package.json keys. detector.ts:148
hint? string What to do about it when opx will not do it for you. detector.ts:146
kind "dependency" | "file" | "setting" What it is: a package, a file, or a package.json key. detector.ts:140
reason string Why the plugin makes it unnecessary. detector.ts:144
target string The package name, the file path from the repository root, or the package.json key. detector.ts:142