mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Enforce member-delimiter-style using eslint (#4870)
This commit is contained in:
1 parent
1c7641708e
commit
600bd659f6
158 files changed
+304
-294
No files matched your search
@@ -61,7 +61,7 @@ export class MonacoEditor extends React.Component<MonacoEditorProps> {
|
||||
|
||||
@observable.ref containerElem: HTMLElement;
|
||||
@observable.ref editor: editor.IStandaloneCodeEditor;
|
||||
@observable dimensions: { width?: number, height?: number } = {};
|
||||
@observable dimensions: { width?: number; height?: number } = {};
|
||||
@observable unmounting = false;
|
||||
|
||||
constructor(props: MonacoEditorProps) {
|
||||
@@ -241,7 +241,7 @@ export class MonacoEditor extends React.Component<MonacoEditorProps> {
|
||||
this.validate(value);
|
||||
}
|
||||
|
||||
getValue(opts?: { preserveBOM: boolean; lineEnding: string; }): string {
|
||||
getValue(opts?: { preserveBOM: boolean; lineEnding: string }): string {
|
||||
return this.editor?.getValue(opts) ?? "";
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user