Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Naveen-g09 committed Mar 17, 2024
1 parent 7f7de17 commit 7b4c871
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 19 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,4 @@ We are trying to develop it based on age for user (ex: better color modes, font
figma link:
https://www.figma.com/file/CUdRvs42DT7ZTRutq617pM/Wireframe-1?type=design&node-id=1-2&mode=design&t=TPgUYMvRyLzLWx31-0


something else?
something else?
5 changes: 1 addition & 4 deletions app/Stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,7 @@ const Stories = () => {
>
{storyInfo.map((data, index) => {
return (
<TouchableOpacity
key={index}

>
<TouchableOpacity key={index}>
<View
style={{
flexDirection: "column",
Expand Down
2 changes: 1 addition & 1 deletion components/ExternalLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function ExternalLink(
target: "_blank",
}}
{...props}
// @ts-expect-error: External URLs are not typed.
// @ts-ignore
href={props.href}
onPress={(e) => {
if (Platform.OS !== "web") {
Expand Down
13 changes: 11 additions & 2 deletions components/bottomSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,17 @@ const AccountSheet = forwardRef<Ref>((props, ref) => {
return (
<BottomSheetModal ref={ref} index={0} snapPoints={snapPoints}>
<View>
<View className="flex items-center">
<Text className="text-2xl font-semibold p-20 justify-center align-center">
<View
style={{ flex: 1, alignItems: "center", justifyContent: "center" }}
>
<Text
style={{
fontSize: 24,
fontWeight: "bold",
padding: 20,
textAlign: "center",
}}
>
Some data
</Text>
</View>
Expand Down
13 changes: 3 additions & 10 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,8 @@
"jsx": "react",
"strict": true,
"paths": {
"@/*": [
"./*"
]
"@/*": ["./*"]
}
},
"include": [
"**/*.ts",
"**/*.tsx",
".expo/types/**/*.ts",
"expo-env.d.ts"
]
}
"include": ["**/*.ts", "**/*.tsx", ".expo/types/**/*.ts", "expo-env.d.ts"]
}

0 comments on commit 7b4c871

Please sign in to comment.