Skip to content

Commit 413a4c3

Browse files
authored
Merge pull request Expensify#90708 from Expensify/chore/bump-eslint-config-expensify-3.0.2
[No QA] Bump eslint-config-expensify to 3.0.2
2 parents 299ee1b + 3140c1e commit 413a4c3

347 files changed

Lines changed: 54 additions & 538 deletions

File tree

Some content is hidden

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

__mocks__/expo-video.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ const VideoView = forwardRef((props: VideoViewProps, ref: ForwardedRef<View>) =>
101101
<View
102102
ref={ref}
103103
accessibilityLabel="MockVideoView"
104-
// eslint-disable-next-line react/jsx-props-no-spreading
105104
{...props}
106105
/>
107106
));

__mocks__/react-native-safe-area-context.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ function withSafeAreaInsets(WrappedComponent: React.ComponentType<WithSafeAreaIn
2323
function WithSafeAreaInsets(props: WithSafeAreaInsetsProps & {ref: React.ForwardedRef<unknown>}) {
2424
return (
2525
<WrappedComponent
26-
// eslint-disable-next-line react/jsx-props-no-spreading
2726
{...props}
2827
ref={props.ref}
2928
insets={insets}
@@ -34,7 +33,6 @@ function withSafeAreaInsets(WrappedComponent: React.ComponentType<WithSafeAreaIn
3433
function WithSafeAreaInsetsWithRef(props: WithSafeAreaInsetsProps & {ref: ForwardedRef<unknown>}) {
3534
return (
3635
<WithSafeAreaInsets
37-
// eslint-disable-next-line react/jsx-props-no-spreading
3836
{...props}
3937
ref={props.ref}
4038
/>

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@
301301
"dotenv": "^16.0.3",
302302
"eslint": "^9.36.0",
303303
"eslint-config-airbnb-typescript": "^18.0.0",
304-
"eslint-config-expensify": "3.0.1",
304+
"eslint-config-expensify": "3.0.2",
305305
"eslint-config-prettier": "^9.1.0",
306306
"eslint-plugin-file-progress": "3.0.1",
307307
"eslint-plugin-jest": "^29.0.1",

src/components/AccountSwitcher.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@ function AccountSwitcher({isScreenFocused}: AccountSwitcherProps) {
223223

224224
return (
225225
<>
226-
{/* eslint-disable-next-line react/jsx-props-no-spreading */}
227226
<TooltipToRender {...tooltipProps}>
228227
<PressableWithFeedback
229228
accessible

src/components/ActionSheetAwareScrollView/index.android.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ function ActionSheetAwareScrollView({style, children, ref, ...restProps}: Action
1212

1313
return (
1414
<Reanimated.ScrollView
15-
// eslint-disable-next-line react/jsx-props-no-spreading
1615
{...restProps}
1716
ref={onRef}
1817
style={style}
@@ -28,7 +27,6 @@ function ActionSheetAwareScrollView({style, children, ref, ...restProps}: Action
2827
* @returns - ActionSheetAwareScrollView
2928
*/
3029
const renderScrollComponent: RenderActionSheetAwareScrollViewComponent = (props) => {
31-
// eslint-disable-next-line react/jsx-props-no-spreading
3230
return <ActionSheetAwareScrollView {...props} />;
3331
};
3432

src/components/ActionSheetAwareScrollView/index.ios.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ function ActionSheetAwareScrollView({style, children, ref, ...restProps}: Action
1818

1919
return (
2020
<Reanimated.ScrollView
21-
// eslint-disable-next-line react/jsx-props-no-spreading
2221
{...restProps}
2322
ref={onRef}
2423
style={[style, animatedStyle]}
@@ -34,7 +33,6 @@ function ActionSheetAwareScrollView({style, children, ref, ...restProps}: Action
3433
* @returns - ActionSheetAwareScrollView
3534
*/
3635
const renderScrollComponent: RenderActionSheetAwareScrollViewComponent = (props) => {
37-
// eslint-disable-next-line react/jsx-props-no-spreading
3836
return <ActionSheetAwareScrollView {...props} />;
3937
};
4038

src/components/ActionSheetAwareScrollView/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ function ActionSheetAwareScrollView({children, ref, ...restProps}: ActionSheetAw
1111

1212
return (
1313
<Reanimated.ScrollView
14-
// eslint-disable-next-line react/jsx-props-no-spreading
1514
{...restProps}
1615
ref={onRef}
1716
>
@@ -30,7 +29,6 @@ function ActionSheetAwareScrollView({children, ref, ...restProps}: ActionSheetAw
3029
*/
3130

3231
const renderScrollComponent: RenderActionSheetAwareScrollViewComponent = (props) => {
33-
// eslint-disable-next-line react/jsx-props-no-spreading
3432
return <ActionSheetAwareScrollView {...props} />;
3533
};
3634

src/components/ActivityIndicator.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ function ActivityIndicator({timeout = CONST.TIMING.ACTIVITY_INDICATOR_TIMEOUT, e
4040
return (
4141
<RNActivityIndicator
4242
color={theme.spinner}
43-
// eslint-disable-next-line react/jsx-props-no-spreading
4443
{...rest}
4544
/>
4645
);

src/components/AmountPicker/AmountSelectorModal.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ function AmountSelectorModal({value, description = '', onValueSelected, isVisibl
6565
>
6666
<View style={styles.flex1}>
6767
<NumberWithSymbolForm
68-
// eslint-disable-next-line react/jsx-props-no-spreading
6968
{...rest}
7069
value={currentValue}
7170
onInputChange={setValue}

0 commit comments

Comments
 (0)