Versions 2 to 318
Lines 64–84 at 318 (were 64–69 at 2)
6565
67+/** Data files: no code defines or uses a name in them, however big they are (abso issue 158). */
68+const DATA_EXTENSIONS = new Set(["json", "jsonc", "json5", "jsonl", "ndjson", "geojson", "csv", "tsv", "lock", "svg"]);
69+
81+
Lines 194–206 at 318 (were 179–187 at 2)
182−export function codeOfLines(lines: readonly string[]): string[] {
200+
183202 const st: ScanState = { stack: [{ kind: "code", depth: 0 }], block: false, triple: undefined };
184− return lines.map((line) => scanLine(line, st));
186205
187206/** Names in some code (from codeOfLines): identifiers of three or more characters that aren't common names. */
- MCP
- compare on this site's /mcp
- CLI
- abso diff 2 318 worker/project/names.ts --json
- JSON
- /christopher/abso-core/compare/2..318?file=worker%2Fproject%2Fnames.ts&format=json