style: make new files lint-clean (prettier + eqeqeq + remove unused eslint-disables)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
fe45c80dd2
commit
47a774f237
@@ -79,15 +79,25 @@ function makeFakeCell(
|
||||
content: notebook
|
||||
};
|
||||
for (let i = 0; i < cellIndex; i++) {
|
||||
notebook.widgets.push({ model: { sharedModel: { getSource: () => '' } } } as any);
|
||||
notebook.widgets.push({
|
||||
model: { sharedModel: { getSource: () => '' } }
|
||||
} as any);
|
||||
}
|
||||
notebook.widgets.push(cell);
|
||||
for (let i = cellIndex + 1; i < totalCells; i++) {
|
||||
notebook.widgets.push({ model: { sharedModel: { getSource: () => '' } } } as any);
|
||||
notebook.widgets.push({
|
||||
model: { sharedModel: { getSource: () => '' } }
|
||||
} as any);
|
||||
}
|
||||
|
||||
Object.defineProperty(cell, 'parent', { value: notebook, configurable: true });
|
||||
Object.defineProperty(notebook, 'parent', { value: panel, configurable: true });
|
||||
Object.defineProperty(cell, 'parent', {
|
||||
value: notebook,
|
||||
configurable: true
|
||||
});
|
||||
Object.defineProperty(notebook, 'parent', {
|
||||
value: panel,
|
||||
configurable: true
|
||||
});
|
||||
|
||||
return cell as CodeCell;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user