Skip to content

Commit 75d44e5

Browse files
authored
Merge pull request #574 from adobe/prettierTheWorld
chore: run prettier on all the things
2 parents 837e492 + 2b7921b commit 75d44e5

File tree

12 files changed

+25
-36
lines changed

12 files changed

+25
-36
lines changed

packages/react-spectrum-charts/src/beta/components/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@
99
* OF ANY KIND, either express or implied. See the License for the specific language
1010
* governing permissions and limitations under the License.
1111
*/
12-

packages/react-spectrum-charts/src/rc/components/SegmentLabel/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
* OF ANY KIND, either express or implied. See the License for the specific language
1010
* governing permissions and limitations under the License.
1111
*/
12-
export * from "./SegmentLabel";
12+
export * from './SegmentLabel';

packages/react-spectrum-charts/src/stories/ChartExamples/FeatureMatrix/data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,4 +355,4 @@ export const topEventsFeatureMatrixData = [
355355
isTopItem: true,
356356
},
357357
...multipleSegmentFeatureMatrixData.map((d) => ({ ...d, isSegmentData: true })),
358-
];
358+
];

packages/react-spectrum-charts/src/stories/components/Bar/DodgedBar.story.tsx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,4 @@ OnClick.args = {
142142
color: 'operatingSystem',
143143
};
144144

145-
export {
146-
Color,
147-
DodgedStacked,
148-
DodgedStackedWithLabels,
149-
LineType,
150-
Opacity,
151-
Popover,
152-
OnClick,
153-
};
145+
export { Color, DodgedStacked, DodgedStackedWithLabels, LineType, Opacity, Popover, OnClick };

packages/react-spectrum-charts/src/stories/components/Legend/legendHover.story.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
* governing permissions and limitations under the License.
1111
*/
1212
import { Legend } from '../../../components';
13-
1413
import { LegendBarStory, defaultProps } from './LegendStoryUtils';
1514

1615
export default {

packages/react-spectrum-charts/src/stories/data/data.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,8 +1057,8 @@ export const simpleSparklineData = [
10571057
{ x: 17, y: 70 },
10581058
{ x: 18, y: 35 },
10591059
{ x: 19, y: 55 },
1060-
{ x: 20, y: 90 }
1061-
]
1060+
{ x: 20, y: 90 },
1061+
];
10621062

10631063
export const peopleAdoptionComboData = [
10641064
{ datetime: 1667890800000, people: 10, adoptionRate: 0.2 },

packages/themes/src/utils.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* OF ANY KIND, either express or implied. See the License for the specific language
1010
* governing permissions and limitations under the License.
1111
*/
12-
1312
import { getColorValue } from './utils';
1413

1514
describe('getColorValue()', () => {

packages/themes/src/utils.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* OF ANY KIND, either express or implied. See the License for the specific language
1010
* governing permissions and limitations under the License.
1111
*/
12-
1312
import { spectrumColors } from './spectrumColors';
1413

1514
/**

packages/vega-spec-builder/src/bar/barUtils.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -507,23 +507,23 @@ describe('barUtils', () => {
507507
const options: BarSpecOptions = {
508508
...defaultBarOptions,
509509
metricAxis: 'customScaleName',
510-
orientation: 'vertical'
510+
orientation: 'vertical',
511511
};
512512
expect(getBaseScaleName(options)).toEqual('customScaleName');
513513
});
514514

515515
test('should return metricScaleKey from orientation properties if metricAxis is not provided (vertical)', () => {
516516
const options: BarSpecOptions = {
517517
...defaultBarOptions,
518-
orientation: 'vertical'
518+
orientation: 'vertical',
519519
};
520520
expect(getBaseScaleName(options)).toEqual('yLinear');
521521
});
522522

523523
test('should return metricScaleKey from orientation properties if metricAxis is not provided (horizontal)', () => {
524524
const options: BarSpecOptions = {
525525
...defaultBarOptions,
526-
orientation: 'horizontal'
526+
orientation: 'horizontal',
527527
};
528528
expect(getBaseScaleName(options)).toEqual('xLinear');
529529
});
@@ -532,7 +532,7 @@ describe('barUtils', () => {
532532
const options: BarSpecOptions = {
533533
...defaultBarOptions,
534534
metricAxis: undefined,
535-
orientation: 'vertical'
535+
orientation: 'vertical',
536536
};
537537
expect(getBaseScaleName(options)).toEqual('yLinear');
538538
});
@@ -541,7 +541,7 @@ describe('barUtils', () => {
541541
const options: BarSpecOptions = {
542542
...defaultBarOptions,
543543
metricAxis: '',
544-
orientation: 'horizontal'
544+
orientation: 'horizontal',
545545
};
546546
expect(getBaseScaleName(options)).toEqual('xLinear');
547547
});

packages/vega-spec-builder/src/scale/scaleSpecBuilder.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,12 @@ export const getScaleIndexByType = (
3939
let index = scales.findIndex((scale) => scale.name === name);
4040
if (index === -1) {
4141
index = scales.length;
42-
scales.push(generateScale(type, axis, {
43-
name,
44-
...(domainDataKey ? { domain: { data: domainDataKey, fields: [] } } : {}),
45-
}));
42+
scales.push(
43+
generateScale(type, axis, {
44+
name,
45+
...(domainDataKey ? { domain: { data: domainDataKey, fields: [] } } : {}),
46+
})
47+
);
4648
}
4749
return index;
4850
};

0 commit comments

Comments
 (0)