Skip to content

Commit

Permalink
Linter fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Mäder <t.s.maeder@gmail.com>
  • Loading branch information
tsmaeder committed Jan 17, 2025
1 parent d9630fc commit 1ef4551
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@
import * as webpack from 'webpack';

export class MonacoWebpackPlugin {
apply(compiler: webpack.Compiler) {
apply(compiler: webpack.Compiler): void {
compiler.hooks.contextModuleFactory.tap('MonacoBuildPlugin', cmf => {
cmf.hooks.contextModuleFiles.tap('MonacoBuildPlugin', files => files.filter(file => {
return !file.endsWith('.d.ts');
}));
cmf.hooks.contextModuleFiles.tap('MonacoBuildPlugin', files => files.filter(file => !file.endsWith('.d.ts')));

});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export class DefaultSecondaryWindowService implements SecondaryWindowService {

const extIndex = this.secondaryWindows.indexOf(newWindow);
if (extIndex > -1) {
this.onWindowClosedEmitter.fire(newWindow)
this.onWindowClosedEmitter.fire(newWindow);
this.secondaryWindows.splice(extIndex, 1);
};
});
Expand Down
2 changes: 1 addition & 1 deletion packages/file-search/src/browser/quick-file-open.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ export class QuickFileOpenService implements QuickAccessProvider {
private getItemIconClasses(uri: URI): string[] | undefined {
const icon = this.labelProvider.getIcon(uri).split(' ');
if (icon.length > 0) {
icon.push('file-icon')
icon.push('file-icon');
}
return icon;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@

import { inject, injectable, postConstruct } from '@theia/core/shared/inversify';
import { ILanguageService } from '@theia/monaco-editor-core/esm/vs/editor/common/languages/language';
import { MarkdownRenderer as CodeMarkdownRenderer, IMarkdownRendererOptions } from '@theia/monaco-editor-core/esm/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer';
import { MarkdownRenderer as CodeMarkdownRenderer, IMarkdownRendererOptions }
from '@theia/monaco-editor-core/esm/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer';
import { StandaloneServices } from '@theia/monaco-editor-core/esm/vs/editor/standalone/browser/standaloneServices';
import * as monaco from '@theia/monaco-editor-core';
import { OpenerService, PreferenceService, WidgetOpenerOptions, open } from '@theia/core/lib/browser';
Expand Down

0 comments on commit 1ef4551

Please sign in to comment.