MCPcopy Create free account
hub / github.com/scriptscat/scriptcat / setEslintConfig

Method setEslintConfig

src/pkg/config/config.ts:328–335  ·  view source on GitHub ↗
(v: string)

Source from the content-addressed store, hash-verified

326 }
327
328 setEslintConfig(v: string) {
329 if (v === "") {
330 this._set("eslint_config", defaultConfig);
331 return;
332 }
333 JSON.parse(v);
334 return this._set("eslint_config", v);
335 }
336
337 getEditorConfig() {
338 return this._get<string>("editor_config", editorDefaultConfig);

Callers

nothing calls this directly

Calls 2

_setMethod · 0.95
parseMethod · 0.45

Tested by

no test coverage detected