(root: string)
| 113 | } |
| 114 | |
| 115 | export function buildContext(root: string): IMetaContext { |
| 116 | const sourceFiles = [ |
| 117 | ...SOURCE_DIRS.flatMap((dir) => |
| 118 | collectSourceFiles( |
| 119 | join(root, dir), |
| 120 | dir === "tests" ? TESTS_LINT_META_SKIP : [] |
| 121 | ) |
| 122 | ), |
| 123 | ...collectSourceFiles(join(root, "scripts"), []), |
| 124 | ]; |
| 125 | |
| 126 | return { |
| 127 | root, |
| 128 | sourceFiles, |
| 129 | workflowFiles: findWorkflows(resolveWorkflowsDir(root)), |
| 130 | }; |
| 131 | } |
no test coverage detected