mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-06-13 07:10:26 +08:00
Migrate all samples to eslint 9
Switches all samples to use eslint 9 with flat configs. I've tried to migrate existing settings as much as possible. However our eslint configs were also inconsistent so I've tried to align these too
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
declare module '*.css' {
|
||||
const classes: { [className: string]: string };
|
||||
const classes: Record<string, string>;
|
||||
export = classes;
|
||||
}
|
||||
|
||||
@ -37,7 +37,6 @@ export const activate: ActivationFunction = context => {
|
||||
ReactDOM.render(<IssuesList info={{ container: node, mime: outputItem.mime, value: outputItem.json(), context }} />, root);
|
||||
});
|
||||
},
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
disposeOutputItem(_outputId) {
|
||||
// Do any teardown here. outputId is the cell output being deleted, or
|
||||
// undefined if we're clearing all outputs.
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
/* eslint-disable @typescript-eslint/naming-convention */
|
||||
import React from "react";
|
||||
import type { RendererContext } from 'vscode-notebook-renderer';
|
||||
|
||||
@ -10,7 +9,7 @@ interface IRenderInfo {
|
||||
}
|
||||
|
||||
interface GitHubIssuesValue {
|
||||
title: string;
|
||||
title: string
|
||||
url: string;
|
||||
body: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user