MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / parseJsConfig

Function parseJsConfig

src/lib/prettierFormatter.js:286–295  ·  view source on GitHub ↗
(directory, source, absolutePath)

Source from the content-addressed store, hash-verified

284}
285
286function parseJsConfig(directory, source, absolutePath) {
287 if (!source) return null;
288 void directory;
289 void absolutePath;
290 try {
291 return extractConfigFromProgram(source);
292 } catch (_) {
293 return null;
294 }
295}
296
297function parseProgram(source) {
298 try {

Callers 1

loadConfigFileFunction · 0.85

Calls 1

extractConfigFromProgramFunction · 0.85

Tested by

no test coverage detected