MCPcopy
hub / github.com/eslint/eslint / generateFormatterExamples

Function generateFormatterExamples

Makefile.js:160–171  ·  view source on GitHub ↗

* Generates a doc page with formatter result examples * @returns {void}

()

Source from the content-addressed store, hash-verified

158 * @returns {void}
159 */
160function generateFormatterExamples() {
161 // We don't need the stack trace of execFileSync if the command fails.
162 try {
163 childProcess.execFileSync(
164 process.execPath,
165 ["tools/generate-formatter-examples.js"],
166 { stdio: "inherit" },
167 );
168 } catch {
169 exit(1);
170 }
171}
172
173/**
174 * Generate a doc page that lists all of the rules and links to them

Callers 1

Makefile.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…