Skip to content

Commit aab559f

Browse files
style: apply automated linter fixes
1 parent 9fef701 commit aab559f

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

src/language/validation/safe-ds-validator.ts

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
1-
import {ValidationChecks} from 'langium';
2-
import {SafeDsAstType} from '../generated/ast.js';
3-
import type {SafeDsServices} from '../safe-ds-module.js';
4-
import {nameMustNotStartWithBlockLambdaPrefix, nameShouldHaveCorrectCasing} from './names.js';
1+
import { ValidationChecks } from 'langium';
2+
import { SafeDsAstType } from '../generated/ast.js';
3+
import type { SafeDsServices } from '../safe-ds-module.js';
4+
import { nameMustNotStartWithBlockLambdaPrefix, nameShouldHaveCorrectCasing } from './names.js';
55
import {
66
annotationParameterListShouldNotBeEmpty,
77
assignmentShouldHaveMoreThanWildcardsAsAssignees,
8-
classBodyShouldNotBeEmpty, constraintListShouldNotBeEmpty,
8+
classBodyShouldNotBeEmpty,
9+
constraintListShouldNotBeEmpty,
910
enumBodyShouldNotBeEmpty,
1011
enumVariantParameterListShouldNotBeEmpty,
1112
functionResultListShouldNotBeEmpty,
1213
segmentResultListShouldNotBeEmpty,
1314
typeParameterListShouldNotBeEmpty,
1415
unionTypeShouldNotHaveASingularTypeArgument,
1516
} from './style.js';
16-
import {templateStringMustHaveExpressionBetweenTwoStringParts} from './other/expressions/templateStrings.js';
17-
import {yieldMustNotBeUsedInPipeline} from './other/statements/assignments.js';
18-
import {attributeMustHaveTypeHint, parameterMustHaveTypeHint, resultMustHaveTypeHint} from './types.js';
19-
import {moduleDeclarationsMustMatchFileKind, moduleWithDeclarationsMustStatePackage} from './other/modules.js';
20-
import {
21-
typeParameterConstraintLeftOperandMustBeOwnTypeParameter
22-
} from './other/declarations/typeParameterConstraints.js';
17+
import { templateStringMustHaveExpressionBetweenTwoStringParts } from './other/expressions/templateStrings.js';
18+
import { yieldMustNotBeUsedInPipeline } from './other/statements/assignments.js';
19+
import { attributeMustHaveTypeHint, parameterMustHaveTypeHint, resultMustHaveTypeHint } from './types.js';
20+
import { moduleDeclarationsMustMatchFileKind, moduleWithDeclarationsMustStatePackage } from './other/modules.js';
21+
import { typeParameterConstraintLeftOperandMustBeOwnTypeParameter } from './other/declarations/typeParameterConstraints.js';
2322

2423
/**
2524
* Register custom validation checks.
@@ -53,5 +52,4 @@ export const registerValidationChecks = function (services: SafeDsServices) {
5352
/**
5453
* Implementation of custom validations.
5554
*/
56-
export class SafeDsValidator {
57-
}
55+
export class SafeDsValidator {}

0 commit comments

Comments
 (0)