in packages/web-scripts/src/Tasks/CommitTasks.ts [33:45]
export function getLintStagedConfig(): string | null {
if (
!hasConfig([
{ type: 'file', pattern: 'lint-staged.config.js' },
{ type: 'file', pattern: '.lintstagedrc*' },
{ type: 'package.json', property: 'lint-staged' },
])
) {
return LINT_STAGED_CONFIG;
}
return null;
}