( project: ProjectConfiguration, format: ConfigFormat, )
| 28 | }; |
| 29 | |
| 30 | export async function findCodePushupEslintConfig( |
| 31 | project: ProjectConfiguration, |
| 32 | format: ConfigFormat, |
| 33 | ): Promise<string | undefined> { |
| 34 | return findProjectFile(project, { |
| 35 | names: CP_ESLINT_CONFIG_NAMES[format], |
| 36 | extensions: ESLINT_CONFIG_EXTENSIONS[format], |
| 37 | }); |
| 38 | } |
| 39 | |
| 40 | export async function findEslintConfig( |
| 41 | project: ProjectConfiguration, |
no test coverage detected