From 0a9e26f61052c34845a0f8ebaf368653b5265cf4 Mon Sep 17 00:00:00 2001 From: megalinter-bot <129584137+megalinter-bot@users.noreply.github.com> Date: Sun, 1 Oct 2023 14:59:42 +0000 Subject: [PATCH] style: apply automated linter fixes --- src/language/builtins/safe-ds-workspace-manager.ts | 2 +- src/language/typing/model.ts | 2 +- src/language/typing/safe-ds-type-computer.ts | 8 ++++---- tests/language/builtins/fileFinder.test.ts | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/language/builtins/safe-ds-workspace-manager.ts b/src/language/builtins/safe-ds-workspace-manager.ts index bf806df02..dbefa04fe 100644 --- a/src/language/builtins/safe-ds-workspace-manager.ts +++ b/src/language/builtins/safe-ds-workspace-manager.ts @@ -1,6 +1,6 @@ import { DefaultWorkspaceManager, LangiumDocument, LangiumDocumentFactory, LangiumSharedServices } from 'langium'; import { WorkspaceFolder } from 'vscode-languageserver'; -import {listBuiltinsFiles} from "./fileFinder.js"; +import { listBuiltinsFiles } from './fileFinder.js'; export class SafeDsWorkspaceManager extends DefaultWorkspaceManager { private documentFactory: LangiumDocumentFactory; diff --git a/src/language/typing/model.ts b/src/language/typing/model.ts index 2c6933f3c..61b092432 100644 --- a/src/language/typing/model.ts +++ b/src/language/typing/model.ts @@ -8,7 +8,7 @@ // import com.larsreimann.safeds.safeDS.SdsEnumVariant // import org.eclipse.xtext.naming.QualifiedName -import {SdsClass, SdsDeclaration, SdsEnum, SdsEnumVariant} from '../generated/ast.js'; +import { SdsClass, SdsDeclaration, SdsEnum, SdsEnumVariant } from '../generated/ast.js'; /* c8 ignore start */ export abstract class Type { diff --git a/src/language/typing/safe-ds-type-computer.ts b/src/language/typing/safe-ds-type-computer.ts index acf4b909b..1d1f22b80 100644 --- a/src/language/typing/safe-ds-type-computer.ts +++ b/src/language/typing/safe-ds-type-computer.ts @@ -1,7 +1,7 @@ -import {AstNode, AstNodeLocator, getDocument, WorkspaceCache} from 'langium'; -import {SafeDsServices} from '../safe-ds-module.js'; -import {SafeDsCoreClasses} from '../builtins/safe-ds-core-classes.js'; -import {ClassType, Type, UnresolvedType} from './model.js'; +import { AstNode, AstNodeLocator, getDocument, WorkspaceCache } from 'langium'; +import { SafeDsServices } from '../safe-ds-module.js'; +import { SafeDsCoreClasses } from '../builtins/safe-ds-core-classes.js'; +import { ClassType, Type, UnresolvedType } from './model.js'; import { isSdsAssignee, isSdsBoolean, diff --git a/tests/language/builtins/fileFinder.test.ts b/tests/language/builtins/fileFinder.test.ts index c214fd7a5..6205f0439 100644 --- a/tests/language/builtins/fileFinder.test.ts +++ b/tests/language/builtins/fileFinder.test.ts @@ -1,5 +1,5 @@ -import {describe, expect, it} from "vitest"; -import {listBuiltinsFiles} from "../../../src/language/builtins/fileFinder.js"; +import { describe, expect, it } from 'vitest'; +import { listBuiltinsFiles } from '../../../src/language/builtins/fileFinder.js'; describe('listBuiltinsFiles', () => { it('should not return an empty list', () => {