Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
adamviktora committed Oct 16, 2024
1 parent 506f18b commit fdf7099
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@typescript-eslint/adjacent-overload-signatures": "error",
"@typescript-eslint/array-type": "error",
"@typescript-eslint/consistent-type-assertions": "error",
"@typescript-eslint/consistent-type-definitions": "error",
"@typescript-eslint/consistent-type-definitions": ["error", "type"],
"@typescript-eslint/no-misused-new": "error",
"@typescript-eslint/no-namespace": "error",
"@typescript-eslint/no-require-imports": "off",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,11 @@ import React from 'react';
import { Stack, StackItem } from '@patternfly/react-core';
import { IndentSection } from '@patternfly/ai-infra-ui-components';

export const IndentSectionBasic: React.FunctionComponent = () => {
return (
<Stack hasGutter>
<StackItem>This text is not indented</StackItem>
<StackItem>
<IndentSection>
This text is wrapped in an IndentSection and thus it is indented
</IndentSection>
</StackItem>
</Stack>
);
};
export const IndentSectionBasic: React.FunctionComponent = () => (
<Stack hasGutter>
<StackItem>This text is not indented</StackItem>
<StackItem>
<IndentSection>This text is wrapped in an IndentSection and thus it is indented</IndentSection>
</StackItem>
</Stack>
);

0 comments on commit fdf7099

Please sign in to comment.