MCPcopy Create free account
hub / github.com/code-pushup/cli / findCodePushupEslintConfig

Function findCodePushupEslintConfig

packages/plugin-eslint/src/lib/nx/utils.ts:30–38  ·  view source on GitHub ↗
(
  project: ProjectConfiguration,
  format: ConfigFormat,
)

Source from the content-addressed store, hash-verified

28};
29
30export 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
40export async function findEslintConfig(
41 project: ProjectConfiguration,

Callers 2

nxProjectsToConfigFunction · 0.85
utils.unit.test.tsFile · 0.85

Calls 1

findProjectFileFunction · 0.85

Tested by

no test coverage detected