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 Oct 6, 2023
1 parent 21f5d5a commit ff57b4f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/language/helpers/nodeProperties.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const isNamedTypeArgument = (node: SdsTypeArgument): boolean => {

export const isRequiredParameter = (node: SdsParameter): boolean => {
return !node.defaultValue && !node.isVariadic;
}
};

export const isStatic = (node: SdsClassMember): boolean => {
if (isSdsClass(node) || isSdsEnum(node)) {
Expand Down
7 changes: 5 additions & 2 deletions src/language/validation/safe-ds-validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@ import {
import {
annotationCallArgumentListShouldBeNeeded,
annotationParameterListShouldNotBeEmpty,
assignmentShouldHaveMoreThanWildcardsAsAssignees, callArgumentListShouldBeNeeded,
assignmentShouldHaveMoreThanWildcardsAsAssignees,
callArgumentListShouldBeNeeded,
classBodyShouldNotBeEmpty,
constraintListShouldNotBeEmpty,
enumBodyShouldNotBeEmpty,
enumVariantParameterListShouldNotBeEmpty,
functionResultListShouldNotBeEmpty, memberAccessNullSafetyShouldBeNeeded, namedTypeTypeArgumentListShouldBeNeeded,
functionResultListShouldNotBeEmpty,
memberAccessNullSafetyShouldBeNeeded,
namedTypeTypeArgumentListShouldBeNeeded,
segmentResultListShouldNotBeEmpty,
typeParameterListShouldNotBeEmpty,
unionTypeShouldNotHaveASingularTypeArgument,
Expand Down

0 comments on commit ff57b4f

Please sign in to comment.