in packages/web-scripts/src/Tasks/LintTask.ts [26:37]
export function getEslintConfig(): string | null {
if (
!hasConfig([
{ type: 'file', pattern: '.eslintrc.*' },
{ type: 'package.json', property: 'eslintConfig' },
])
) {
return ESLINT_CONFIG;
}
return null;
}