( cwd: string, input: Pick<CreateRuleInput, "scope" | "kind" | "modeSlug">, )
| 141 | } |
| 142 | |
| 143 | export function getRulesDirectoryPath( |
| 144 | cwd: string, |
| 145 | input: Pick<CreateRuleInput, "scope" | "kind" | "modeSlug">, |
| 146 | ): string { |
| 147 | return getTargetRuleDirectory(cwd, input) |
| 148 | } |
| 149 | |
| 150 | function getRuleDirectories(cwd: string, modes: readonly RulesMode[] = DEFAULT_MODES): RuleDirectoryInfo[] { |
| 151 | const globalRooDirectory = getGlobalRooDirectory() |
no test coverage detected