Skip to content

Commit 7dcad64

Browse files
authoredJun 3, 2024··
fix: use new JSX transform in preparation for React 19 (#5837)
1 parent 72a7055 commit 7dcad64

File tree

136 files changed

+152
-250
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+152
-250
lines changed
 

‎.eslintrc.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ env:
1010
es2022: true
1111
extends:
1212
- plugin:react/recommended
13+
- plugin:react/jsx-runtime
1314
- plugin:react-hooks/recommended
1415
- plugin:import/recommended
1516
- plugin:prettier/recommended
@@ -112,8 +113,6 @@ overrides:
112113

113114
- files:
114115
- 'cypress/**/*'
115-
extends:
116-
- 'plugin:react/jsx-runtime'
117116
rules:
118117
'@typescript-eslint/no-namespace': 'off'
119118

@@ -124,7 +123,6 @@ overrides:
124123
- no-only-tests
125124
rules:
126125
'@typescript-eslint/no-empty-function': 'off'
127-
'react/react-in-jsx-scope': 'off'
128126
'import/order': 'warn'
129127
'import/no-unresolved': 'off'
130128
'react/no-unescaped-entities': 'off'
@@ -135,7 +133,6 @@ overrides:
135133
- files:
136134
- '*.stories.tsx'
137135
extends:
138-
- 'plugin:react/jsx-runtime'
139136
- 'plugin:storybook/recommended'
140137
rules:
141138
'react/prop-types': 'off' # inline custom components within stories don't need prop types

‎.storybook/components/ArgTypesWithNote.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ArgTypes } from '@storybook/blocks';
22
import { MessageStrip, MessageStripDesign } from '@ui5/webcomponents-react';
3-
import React, { ComponentProps, ReactNode } from 'react';
3+
import { ComponentProps, ReactNode } from 'react';
44
import classes from './ArgTypesWithNote.module.css';
55

66
interface ArgTypesWithNotePropTypes {

0 commit comments

Comments
 (0)
Please sign in to comment.