Skip to content

Commit

Permalink
fix: formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
riddhybansal committed Jan 28, 2025
1 parent ff5f37b commit ee7db01
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ packages/**/examples/**
# Upgrade
packages/upgrade/cli.js
packages/upgrade/**/*.output.js
packages/upgrade/**/*.output.tsx

# Accessibility Verification Testing
**/.avt/**
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { FeatureFlags } from '@carbon/feature-flags';
const TestComponent: React.FC = () => {
return (
//prettier-ignore
<div>
(<div>
{/* Case 1: Unwrapped TileGroup */}
<FeatureFlags enableV12TileDefaultIcons><TileGroup legend="TestGroup" name="test">
<Tile id="test-1">Option 1</Tile>
Expand Down Expand Up @@ -60,7 +60,7 @@ const TestComponent: React.FC = () => {
<Tile id="nested-2">Nested Option 2</Tile>
</TileGroup></FeatureFlags>
</div>
</div>
</div>)
);
};

Expand Down
2 changes: 0 additions & 2 deletions packages/upgrade/transforms/enable-v12-tile-default-icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
const defaultOptions = {
quote: 'single',
trailingComma: true,
arrowParensAlways: true,
parser: 'tsx',
};

function transform(fileInfo, api, options) {
Expand Down

0 comments on commit ee7db01

Please sign in to comment.