Skip to content

Commit a6b941c

Browse files
committed
fix eslint errors
1 parent 91aeaff commit a6b941c

16 files changed

Lines changed: 20 additions & 15 deletions

File tree

.storybook/components/ArgTypesWithNote.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { DomRefTable } from '@sb/components/DomRefTable.js';
21
import { ArgTypes, type Controls } from '@storybook/addon-docs/blocks';
32
import MessageStripDesign from '@ui5/webcomponents/dist/types/MessageStripDesign.js';
43
import { MessageStrip } from '@ui5/webcomponents-react';
54
import type { ComponentProps, ReactNode } from 'react';
65
import classes from './ArgTypesWithNote.module.css';
6+
import { DomRefTable } from '@sb/components/DomRefTable.js';
77

88
interface ArgTypesWithNotePropTypes {
99
hideHTMLPropsNote?: boolean;

.storybook/components/DocsHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { Badge } from '@sb/components/Badge';
21
import type { Controls } from '@storybook/addon-docs/blocks';
32
import { Description, Subtitle, Title, useOf } from '@storybook/addon-docs/blocks';
43
import ButtonDesign from '@ui5/webcomponents/dist/types/ButtonDesign.js';
@@ -22,6 +21,7 @@ import classes from './DocsHeader.module.css';
2221
import { GitHubLogo } from './GitHub-Mark';
2322
import { Import } from './Import';
2423
import { TableOfContent } from './TableOfContent';
24+
import { Badge } from '@sb/components/Badge';
2525

2626
const Links = ({ isChart }: { isChart?: boolean }) => {
2727
const githubUrl = `https://github.com/UI5/webcomponents-react`;

.storybook/components/ProjectTemplate.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import TsLogo from '@sb/images/logo-ts.png';
21
import LinkDesign from '@ui5/webcomponents/dist/types/LinkDesign.js';
32
import MessageStripDesign from '@ui5/webcomponents/dist/types/MessageStripDesign.js';
43
import {
@@ -17,6 +16,7 @@ import { clsx } from 'clsx';
1716
import type { ReactNode } from 'react';
1817
import { useId, useState } from 'react';
1918
import classes from './ProjectTemplate.module.css';
19+
import TsLogo from '@sb/images/logo-ts.png';
2020

2121
interface ProjectTemplatePropTypes {
2222
title: string;

eslint.config.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@ const ignorePatterns = {
2020
'packages/compat/dist',
2121
'packages/main/dist',
2222
'packages/main/wrappers',
23+
'packages/main/ssr',
24+
'packages/main/index.d.ts',
25+
'packages/main/index.esm.js',
26+
'packages/main/scripts/wrapperGeneration/dist',
2327
'packages/mcp-server/dist',
28+
'packages/mcp-server/docs',
2429
'packages/mcp-server/scripts',
2530
'packages/main/src/i18n/i18n-defaults.ts',
2631
'packages/main/src/generated',

packages/charts/src/components/ScatterChart/test/ScatterChart.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { expect, test } from '../../../../../../playwright/fixtures/main-fixtures.js';
21
import type { Page } from '@playwright/test';
2+
import { expect, test } from '../../../../../../playwright/fixtures/main-fixtures.js';
33
import { scatterComplexDataSet } from '../../../resources/DemoProps.js';
44
import { testLoadingStates, testPassThroughProps } from '../../../test-utils/sharedTests.js';
55
import { ScatterChart } from '../index.js';

packages/compat/src/components/Loader/Loader.cy.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import { cypressPassThroughTestsFactory } from '@/cypress/support/utils';
12
import { LoaderType } from '../../enums/LoaderType.js';
23
import { Loader } from './index.js';
3-
import { cypressPassThroughTestsFactory } from '@/cypress/support/utils';
44

55
describe('Loader', () => {
66
it('indeterminate', () => {

packages/compat/src/components/Toolbar/Toolbar.cy.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { cssVarToRgb, cypressPassThroughTestsFactory, mountWithCustomTagName } from '@/cypress/support/utils';
12
import ButtonDesign from '@ui5/webcomponents/dist/types/ButtonDesign.js';
23
import PopupAccessibleRole from '@ui5/webcomponents/dist/types/PopupAccessibleRole.js';
34
import { setTheme } from '@ui5/webcomponents-base/dist/config/Theme.js';
@@ -17,7 +18,6 @@ import { ToolbarSeparator } from '../ToolbarSeparator/index.js';
1718
import { ToolbarSpacer } from '../ToolbarSpacer/index.js';
1819
import type { ToolbarPropTypes } from './index.js';
1920
import { Toolbar } from './index.js';
20-
import { cssVarToRgb, cypressPassThroughTestsFactory, mountWithCustomTagName } from '@/cypress/support/utils';
2121

2222
interface PropTypes {
2323
onOverflowChange: (event: {

packages/main/src/components/AnalyticalCardHeader/AnalyticalCardHeader.cy.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { cypressPassThroughTestsFactory } from '@/cypress/support/utils';
12
import { getRGBColor } from '@ui5/webcomponents-base/dist/util/ColorConversion';
23
import { ThemingParameters } from '@ui5/webcomponents-react-base';
34
import { DeviationIndicator, ValueColor } from '../../enums';
@@ -7,7 +8,6 @@ import { Text } from '../../webComponents/Text/index.js';
78
import { NumericSideIndicator } from '../NumericSideIndicator';
89
import type { AnalyticalCardHeaderPropTypes } from './index';
910
import { AnalyticalCardHeader } from './index';
10-
import { cypressPassThroughTestsFactory } from '@/cypress/support/utils';
1111

1212
const TestComp = (props: Omit<CardPropTypes, 'children'>) => {
1313
return (

packages/main/src/components/AnalyticalTable/AnalyticalTable.cy.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { cssVarToRgb, cypressPassThroughTestsFactory } from '@/cypress/support/utils';
12
import ValueState from '@ui5/webcomponents-base/dist/types/ValueState.js';
23
import NoDataIllustration from '@ui5/webcomponents-fiori/dist/illustrations/NoData.js';
34
import NoFilterResults from '@ui5/webcomponents-fiori/dist/illustrations/NoFilterResults.js';
@@ -82,7 +83,6 @@ import {
8283
import { useF2CellEdit } from './pluginHooks/useF2CellEdit.js';
8384
import { useManualRowSelect } from './pluginHooks/useManualRowSelect';
8485
import { useRowDisableSelection } from './pluginHooks/useRowDisableSelection';
85-
import { cssVarToRgb, cypressPassThroughTestsFactory } from '@/cypress/support/utils';
8686
import type { RowType } from '@/packages/main/src/components/AnalyticalTable/types/index.js';
8787
import { getUi5TagWithSuffix } from '@/packages/main/src/internal/utils.js';
8888

packages/main/src/components/FilterBar/FilterBar.cy.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { cypressPassThroughTestsFactory, mountWithCustomTagName } from '@/cypress/support/utils';
12
import { useId, useState } from 'react';
23
import {
34
Input,
@@ -15,7 +16,6 @@ import { VariantItem } from '../VariantItem/index.js';
1516
import { VariantManagement } from '../VariantManagement/index.js';
1617
import type { FilterBarPropTypes } from './index.js';
1718
import { FilterBar } from './index.js';
18-
import { cypressPassThroughTestsFactory, mountWithCustomTagName } from '@/cypress/support/utils';
1919

2020
const variants = (
2121
<VariantManagement data-testid="variantManagement">

0 commit comments

Comments
 (0)