tools/dgeni/src/processors/convertToJson.ts
Function $process
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$process(docs: Document[]) {
const docTypes = this.docTypes;
docs.forEach((doc) => {
if (docTypes.includes(doc.docType)) {
const contents = doc.renderedContent || '';