Skip to content

Commit e09f9f2

Browse files
style: apply automated linter fixes
1 parent d96473d commit e09f9f2

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/language/validation/other/declarations/typeParameterConstraints.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
import {isSdsDeclaration, SdsTypeParameterConstraint} from '../../../generated/ast.js';
2-
import {getContainerOfType, ValidationAcceptor} from 'langium';
1+
import { isSdsDeclaration, SdsTypeParameterConstraint } from '../../../generated/ast.js';
2+
import { getContainerOfType, ValidationAcceptor } from 'langium';
33

44
export const CODE_TYPE_PARAMETER_CONSTRAINT_LEFT_OPERAND = 'type-parameter-constraint/left-operand';
55

66
export const typeParameterConstraintLeftOperandMustBeOwnTypeParameter = (
77
node: SdsTypeParameterConstraint,
88
accept: ValidationAcceptor,
99
) => {
10-
const typeParameter = node.leftOperand.ref
10+
const typeParameter = node.leftOperand.ref;
1111
if (!typeParameter) {
1212
return;
1313
}

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ import { templateStringMustHaveExpressionBetweenTwoStringParts } from './other/e
1919
import { yieldMustNotBeUsedInPipeline } from './other/statements/assignments.js';
2020
import { attributeMustHaveTypeHint, parameterMustHaveTypeHint, resultMustHaveTypeHint } from './types.js';
2121
import { moduleDeclarationsMustMatchFileKind, moduleWithDeclarationsMustStatePackage } from './other/modules.js';
22-
import {
23-
typeParameterConstraintLeftOperandMustBeOwnTypeParameter
24-
} from "./other/declarations/typeParameterConstraints.js";
22+
import { typeParameterConstraintLeftOperandMustBeOwnTypeParameter } from './other/declarations/typeParameterConstraints.js';
2523

2624
/**
2725
* Register custom validation checks.

0 commit comments

Comments
 (0)