From aab559fed780c22d226de76198732a8085eb18a1 Mon Sep 17 00:00:00 2001 From: megalinter-bot <129584137+megalinter-bot@users.noreply.github.com> Date: Thu, 21 Sep 2023 09:59:13 +0000 Subject: [PATCH] style: apply automated linter fixes --- src/language/validation/safe-ds-validator.ts | 26 +++++++++----------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/src/language/validation/safe-ds-validator.ts b/src/language/validation/safe-ds-validator.ts index febd5f52f..633cad68e 100644 --- a/src/language/validation/safe-ds-validator.ts +++ b/src/language/validation/safe-ds-validator.ts @@ -1,11 +1,12 @@ -import {ValidationChecks} from 'langium'; -import {SafeDsAstType} from '../generated/ast.js'; -import type {SafeDsServices} from '../safe-ds-module.js'; -import {nameMustNotStartWithBlockLambdaPrefix, nameShouldHaveCorrectCasing} from './names.js'; +import { ValidationChecks } from 'langium'; +import { SafeDsAstType } from '../generated/ast.js'; +import type { SafeDsServices } from '../safe-ds-module.js'; +import { nameMustNotStartWithBlockLambdaPrefix, nameShouldHaveCorrectCasing } from './names.js'; import { annotationParameterListShouldNotBeEmpty, assignmentShouldHaveMoreThanWildcardsAsAssignees, - classBodyShouldNotBeEmpty, constraintListShouldNotBeEmpty, + classBodyShouldNotBeEmpty, + constraintListShouldNotBeEmpty, enumBodyShouldNotBeEmpty, enumVariantParameterListShouldNotBeEmpty, functionResultListShouldNotBeEmpty, @@ -13,13 +14,11 @@ import { typeParameterListShouldNotBeEmpty, unionTypeShouldNotHaveASingularTypeArgument, } from './style.js'; -import {templateStringMustHaveExpressionBetweenTwoStringParts} from './other/expressions/templateStrings.js'; -import {yieldMustNotBeUsedInPipeline} from './other/statements/assignments.js'; -import {attributeMustHaveTypeHint, parameterMustHaveTypeHint, resultMustHaveTypeHint} from './types.js'; -import {moduleDeclarationsMustMatchFileKind, moduleWithDeclarationsMustStatePackage} from './other/modules.js'; -import { - typeParameterConstraintLeftOperandMustBeOwnTypeParameter -} from './other/declarations/typeParameterConstraints.js'; +import { templateStringMustHaveExpressionBetweenTwoStringParts } from './other/expressions/templateStrings.js'; +import { yieldMustNotBeUsedInPipeline } from './other/statements/assignments.js'; +import { attributeMustHaveTypeHint, parameterMustHaveTypeHint, resultMustHaveTypeHint } from './types.js'; +import { moduleDeclarationsMustMatchFileKind, moduleWithDeclarationsMustStatePackage } from './other/modules.js'; +import { typeParameterConstraintLeftOperandMustBeOwnTypeParameter } from './other/declarations/typeParameterConstraints.js'; /** * Register custom validation checks. @@ -53,5 +52,4 @@ export const registerValidationChecks = function (services: SafeDsServices) { /** * Implementation of custom validations. */ -export class SafeDsValidator { -} +export class SafeDsValidator {}