Skip to content

Commit 3bc2889

Browse files
committed
fix: remove unused plugins
1 parent 350a9c1 commit 3bc2889

File tree

5 files changed

+9
-103
lines changed

5 files changed

+9
-103
lines changed

.eslintrc.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,12 @@ module.exports = {
2727
'react/destructuring-assignment': 'off', // Vscode doesn't support automatically destructuring, it's a pain to add a new variable
2828
'react/require-default-props': 'off', // Allow non-defined react props as undefined
2929
'@typescript-eslint/comma-dangle': 'off', // Avoid conflict rule between Eslint and Prettier
30-
'@typescript-eslint/consistent-type-imports': 'error', // Ensure `import type` is used when it's necessary
30+
'@typescript-eslint/consistent-type-imports': ['warn', {
31+
prefer: 'type-imports',
32+
fixStyle: 'inline-type-imports',
33+
disallowTypeAnnotations: true,
34+
},
35+
], // Ensure `import type` is used when it's necessary
3136
'import/prefer-default-export': 'off', // Named export is easier to refactor automatically
3237
'tailwindcss/classnames-order': [
3338
'warn',

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@
8585
"@babel/core": "^7.24.5",
8686
"@commitlint/cli": "^17.8.1",
8787
"@commitlint/config-conventional": "^17.8.1",
88-
"@dev-plugins/react-navigation": "^0.0.6",
8988
"@dev-plugins/react-query": "^0.0.6",
9089
"@expo/config": "~9.0.2",
9190
"@testing-library/jest-dom": "^5.17.0",
@@ -119,7 +118,6 @@
119118
"metro-babel-register": "^0.73.10",
120119
"np": "^7.7.0",
121120
"prettier": "^3.3.3",
122-
"react-test-renderer": "^18.3.1",
123121
"tailwindcss": "3.3.2",
124122
"ts-jest": "^29.1.2",
125123
"typescript": "^5.3.3"

pnpm-lock.yaml

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

src/app/_layout.tsx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
// Import global CSS file
22
import '../../global.css';
33

4-
import { useReactNavigationDevTools } from '@dev-plugins/react-navigation';
54
import { BottomSheetModalProvider } from '@gorhom/bottom-sheet';
65
import { ThemeProvider } from '@react-navigation/native';
7-
import { SplashScreen, Stack, useNavigationContainerRef } from 'expo-router';
6+
import { SplashScreen, Stack } from 'expo-router';
87
import React from 'react';
98
import { StyleSheet } from 'react-native';
109
import FlashMessage from 'react-native-flash-message';
@@ -27,12 +26,6 @@ loadSelectedTheme();
2726
SplashScreen.preventAutoHideAsync();
2827

2928
export default function RootLayout() {
30-
const navigationRef = useNavigationContainerRef();
31-
useReactNavigationDevTools(navigationRef);
32-
return <RootLayoutNav />;
33-
}
34-
35-
function RootLayoutNav() {
3629
return (
3730
<Providers>
3831
<Stack>

src/ui/modal-keyboard-aware-scroll-view.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ import {
1818
createBottomSheetScrollableComponent,
1919
SCROLLABLE_TYPE,
2020
} from '@gorhom/bottom-sheet';
21-
import type { BottomSheetScrollViewProps } from '@gorhom/bottom-sheet/src/components/bottomSheetScrollable/types';
21+
import { type BottomSheetScrollViewProps } from '@gorhom/bottom-sheet/src/components/bottomSheetScrollable/types';
2222
import { memo } from 'react';
23-
import type { KeyboardAwareScrollViewProps } from 'react-native-keyboard-controller';
23+
import { type KeyboardAwareScrollViewProps } from 'react-native-keyboard-controller';
2424
import { KeyboardAwareScrollView } from 'react-native-keyboard-controller';
2525
import Reanimated from 'react-native-reanimated';
2626

0 commit comments

Comments
 (0)