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 22, 2023
1 parent 38593c4 commit 5500f25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/language/validation/other/types/unionTypes.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { SdsUnionType } from '../../../generated/ast.js';
import { ValidationAcceptor } from 'langium';
import { typeArgumentsOrEmpty } from '../../../ast/shortcuts.js';
import {isEmpty} from "radash";
import { isEmpty } from 'radash';

export const CODE_UNION_TYPE_MISSING_TYPE_ARGUMENTS = 'union-type/missing-type-arguments';

Expand Down
2 changes: 1 addition & 1 deletion src/language/validation/safe-ds-validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import { unionTypeMustHaveTypeArguments } from './other/types/unionTypes.js';
import { callableTypeMustNotHaveOptionalParameters } from './other/types/callableTypes.js';
import { typeArgumentListMustNotHavePositionalArgumentsAfterNamedArguments } from './other/types/typeArgumentLists.js';
import { argumentListMustNotHavePositionalArgumentsAfterNamedArguments } from './other/argumentLists.js';
import {parameterMustNotBeVariadicAndOptional} from "./other/declarations/parameters.js";
import { parameterMustNotBeVariadicAndOptional } from './other/declarations/parameters.js';

/**
* Register custom validation checks.
Expand Down

0 comments on commit 5500f25

Please sign in to comment.