Closed DecampsRenan closed 6 months ago
We want imports to be sorted like they are in start-ui-web; cf. prettier config: https://github.com/BearStudio/start-ui-web/blob/v2-going-full-stack/.prettierrc.js
Currently they are like this:
import { Formiz, useForm } from '@formiz/core'; import { FieldInput } from '@/components/FieldInput'; import { TextInput } from 'react-native'; import { useRouter } from 'expo-router'; import { useRef } from 'react'; import { Button, Stack } from 'react-native-ficus-ui'; import { focus } from '@/utils/formUtils'; import { isEmail } from '@formiz/validations'; import { useLogin } from '@/modules/auth/auth.service';
We want them something like this:
import { useRef } from 'react'; import { TextInput } from 'react-native'; import { Button, Stack } from 'react-native-ficus-ui'; import { useRouter } from 'expo-router'; import { isEmail } from '@formiz/validations'; import { Formiz, useForm } from '@formiz/core'; import { focus } from '@/utils/formUtils'; import { useLogin } from '@/modules/auth/auth.service'; import { FieldInput } from '@/components/FieldInput';
We want imports to be sorted like they are in start-ui-web; cf. prettier config: https://github.com/BearStudio/start-ui-web/blob/v2-going-full-stack/.prettierrc.js
Currently they are like this:
We want them something like this: