Skip to content

Commit 5c844a1

Browse files
committed
chore: fix all lint issues
1 parent fa8daee commit 5c844a1

File tree

32 files changed

+71
-239
lines changed

32 files changed

+71
-239
lines changed

biome.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@
3939
"quoteStyle": "single"
4040
}
4141
},
42+
"css": {
43+
"parser": {
44+
"tailwindDirectives": true
45+
}
46+
},
4247
"assist": {
4348
"actions": {
4449
"source": {

examples/expo/components/Button/Button.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ export const Button = ({ variant, children }: Props) => {
1414
variant === 'primary' ? styles.primary : styles.outline,
1515
]}
1616
>
17-
<Text
18-
style={[styles.buttonText, variant === 'primary' ? styles.primaryText : styles.outlineText]}
19-
>
17+
<Text style={[styles.buttonText, variant === 'primary' ? styles.primaryText : styles.outlineText]}>
2018
{children}
2119
</Text>
2220
</Pressable>

examples/expo/components/HStack/HStack.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,7 @@ import type { FC, PropsWithChildren } from 'react';
22
import { View } from 'react-native';
33

44
type Props = PropsWithChildren<{
5-
alignHorizontal?:
6-
| 'flex-start'
7-
| 'flex-end'
8-
| 'center'
9-
| 'space-between'
10-
| 'space-around'
11-
| 'space-evenly';
5+
alignHorizontal?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';
126
alignVertical?: 'flex-start' | 'flex-end' | 'center' | 'stretch';
137
size?: {
148
width?: number;

examples/expo/components/VStack/VStack.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,7 @@ import { View } from 'react-native';
33

44
type Props = PropsWithChildren<{
55
flex?: number;
6-
alignVertical?:
7-
| 'flex-start'
8-
| 'flex-end'
9-
| 'center'
10-
| 'space-between'
11-
| 'space-around'
12-
| 'space-evenly';
6+
alignVertical?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';
137
alignHorizontal?: 'flex-start' | 'flex-end' | 'center' | 'stretch';
148
size?: {
159
width?: number;

examples/nextjs/components/HStack/HStack.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
import type { FC, PropsWithChildren } from 'react';
22

33
export type Props = PropsWithChildren<{
4-
alignHorizontal?:
5-
| 'flex-start'
6-
| 'flex-end'
7-
| 'center'
8-
| 'space-between'
9-
| 'space-around'
10-
| 'space-evenly';
4+
alignHorizontal?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';
115
alignVertical?: 'flex-start' | 'flex-end' | 'center' | 'stretch';
126
size?: {
137
width?: number | string;

examples/nextjs/components/VStack/VStack.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
import type { FC, PropsWithChildren } from 'react';
22

33
export type Props = PropsWithChildren<{
4-
alignVertical?:
5-
| 'flex-start'
6-
| 'flex-end'
7-
| 'center'
8-
| 'space-between'
9-
| 'space-around'
10-
| 'space-evenly';
4+
alignVertical?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';
115
alignHorizontal?: 'flex-start' | 'flex-end' | 'center' | 'stretch';
126
size?: {
137
width?: number | string;

examples/react-router/app/app.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
@theme {
44
--font-sans:
5-
system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell,
6-
Helvetica Neue;
5+
system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue;
76
}
87

98
html,

examples/react-router/app/components/HStack/HStack.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
import type { FC, PropsWithChildren } from 'react';
22

33
export type Props = PropsWithChildren<{
4-
alignHorizontal?:
5-
| 'flex-start'
6-
| 'flex-end'
7-
| 'center'
8-
| 'space-between'
9-
| 'space-around'
10-
| 'space-evenly';
4+
alignHorizontal?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';
115
alignVertical?: 'flex-start' | 'flex-end' | 'center' | 'stretch';
126
size?: {
137
width?: number | string;

examples/react-router/app/components/VStack/VStack.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
import type { FC, PropsWithChildren } from 'react';
22

33
export type Props = PropsWithChildren<{
4-
alignVertical?:
5-
| 'flex-start'
6-
| 'flex-end'
7-
| 'center'
8-
| 'space-between'
9-
| 'space-around'
10-
| 'space-evenly';
4+
alignVertical?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';
115
alignHorizontal?: 'flex-start' | 'flex-end' | 'center' | 'stretch';
126
size?: {
137
width?: number | string;

examples/react-router/app/root.tsx

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
import {
2-
isRouteErrorResponse,
3-
Links,
4-
Meta,
5-
Outlet,
6-
Scripts,
7-
ScrollRestoration,
8-
} from 'react-router';
1+
import { isRouteErrorResponse, Links, Meta, Outlet, Scripts, ScrollRestoration } from 'react-router';
92

103
import type { Route } from './+types/root';
114
import './app.css';
@@ -52,8 +45,7 @@ export function ErrorBoundary({ error }: Route.ErrorBoundaryProps) {
5245

5346
if (isRouteErrorResponse(error)) {
5447
message = error.status === 404 ? '404' : 'Error';
55-
details =
56-
error.status === 404 ? 'The requested page could not be found.' : error.statusText || details;
48+
details = error.status === 404 ? 'The requested page could not be found.' : error.statusText || details;
5749
} else if (import.meta.env.DEV && error && error instanceof Error) {
5850
details = error.message;
5951
stack = error.stack;

0 commit comments

Comments
 (0)