# configuration/strings/source.strings.ts

> 6 lines of code and 2 definitions.

Tree: Project Scripts
Language: typescript
Layer: product
Canonical: https://banes-lab.com/anatomy/scripts#file-scripts-configuration-strings-source-strings-ts
Source text: https://banes-lab.com/source/scripts/configuration/strings/source.strings.ts.txt

Listed in [configuration/strings](https://banes-lab.com/api/source/scripts/configuration/strings.md), after [configuration/strings/snapshot.strings.ts](https://banes-lab.com/source/scripts/configuration/strings/snapshot.strings.ts.md) and before [configuration/strings/style.strings.ts](https://banes-lab.com/source/scripts/configuration/strings/style.strings.ts.md).

## Definitions

- `lengthHeld` (lexical_declaration, line 1, exported)
- `lengthBroken` (lexical_declaration, line 5, exported)

## Contained in

- [configuration/strings](https://banes-lab.com/anatomy/scripts/folder-scripts-configuration-strings.md)

## Used by

- [core/validators/source.validator.ts](https://banes-lab.com/source/scripts/core/validators/source.validator.ts.md)

## Linked from

- [core/validators](https://banes-lab.com/anatomy/scripts/folder-scripts-core-validators.md)

## Source

```typescript
export const lengthHeld = function lengthHeld(cap: number, scanned: number): string {
    return `[loc-check] every scanned surface file is under ${String(cap)} lines (${String(scanned)} scanned)\n`;
};

export const lengthBroken = function lengthBroken(cap: number, rows: readonly string[]): string {
    return [`[loc-check] ${String(rows.length)} file(s) over ${String(cap)} lines:`, ...rows, ""].join("\n");
};
```
