MCPcopy Create free account
hub / github.com/CashScript/cashscript / indent

Function indent

packages/utils/src/artifact.ts:77–77  ·  view source on GitHub ↗
(level: number)

Source from the content-addressed store, hash-verified

75}
76
77const indent = (level: number): string => ' '.repeat(level);
78
79// Objects with this many or more properties are always expanded onto multiple lines, to keep
80// generated `.artifact.ts` files compliant with the `object-curly-newline` lint rule (minProperties: 4)

Callers 2

formatArrayFunction · 0.85
formatObjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected