Skip to content

Commit

Permalink
style: run linter
Browse files Browse the repository at this point in the history
  • Loading branch information
gutentag2012 committed Nov 25, 2024
1 parent 68d7708 commit 65da789
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 19 deletions.
4 changes: 2 additions & 2 deletions examples/react-native/native-form-signals/app/_layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Stack } from "expo-router";
import { Stack } from 'expo-router'

export default function RootLayout() {
return <Stack />;
return <Stack />
}
6 changes: 3 additions & 3 deletions examples/react-native/native-form-signals/app/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Text, View } from "react-native";
import {UserForm} from "@/components/UserForm";
import { UserForm } from '@/components/UserForm'
import { View } from 'react-native'

export default function Index() {
return (
Expand All @@ -12,5 +12,5 @@ export default function Index() {
>
<UserForm />
</View>
);
)
}
8 changes: 4 additions & 4 deletions examples/react-native/native-form-signals/babel.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = api => {
api.cache(true);
module.exports = (api) => {
api.cache(true)
return {
presets: ['babel-preset-expo'],
plugins: [
Expand All @@ -10,5 +10,5 @@ module.exports = api => {
},
],
],
};
};
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@ export function UserForm() {
<FormInput secureTextEntry />
</form.FieldProvider>

<Button title="Submit" onPress={() => form.handleSubmit()} disabled={!form.canSubmit.value} />
<Button
title="Submit"
onPress={() => form.handleSubmit()}
disabled={!form.canSubmit.value}
/>
</form.FormProvider>
)
}
Expand Down
11 changes: 2 additions & 9 deletions examples/react-native/native-form-signals/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,8 @@
"compilerOptions": {
"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 65da789

Please sign in to comment.