Skip to content

Commit

Permalink
Add ESLint disable comments for any type usage in CreateSiteHelper an…
Browse files Browse the repository at this point in the history
…d CreateSiteTypes
  • Loading branch information
amitjoshi committed Nov 27, 2024
1 parent ec005a6 commit 15c8842
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ function previewSitePagesContent(

try {
const sitePagesContent: { name: string; content: string }[] = [];
// eslint-disable-next-line @typescript-eslint/no-explicit-any
sitePages.forEach((page: any) => {
sitePagesContent.push({ name: page.metadata.pageTitle, content: page.code });
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export interface ICreateSiteOptions {

export interface IPreviewSitePagesContentOptions {
// siteName: string;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
sitePages: any[];
stream: vscode.ChatResponseStream;
extensionContext: vscode.ExtensionContext;
Expand Down

0 comments on commit 15c8842

Please sign in to comment.