Skip to content

Commit

Permalink
style: apply automated linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
megalinter-bot committed Sep 21, 2023
1 parent 9fef701 commit aab559f
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions src/language/validation/safe-ds-validator.ts
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
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,
segmentResultListShouldNotBeEmpty,
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.
Expand Down Expand Up @@ -53,5 +52,4 @@ export const registerValidationChecks = function (services: SafeDsServices) {
/**
* Implementation of custom validations.
*/
export class SafeDsValidator {
}
export class SafeDsValidator {}

0 comments on commit aab559f

Please sign in to comment.