Skip to content

Commit 18f2aa8

Browse files
chore(deps): update dependency eslint-plugin-better-tailwindcss to v4 (#506)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Emrik Östling <[email protected]>
1 parent 081f62d commit 18f2aa8

File tree

8 files changed

+36
-51
lines changed

8 files changed

+36
-51
lines changed

bun.lock

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

eslint.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export default tseslint.config(
4949
printWidth: 100,
5050
},
5151
],
52-
"better-tailwindcss/no-unregistered-classes": [
52+
"better-tailwindcss/no-unknown-classes": [
5353
"warn",
5454
{
5555
ignore: [

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"@types/node": "^24.10.1",
3939
"@typescript-eslint/parser": "^8.46.4",
4040
"eslint": "^9.39.1",
41-
"eslint-plugin-better-tailwindcss": "^3.7.10",
41+
"eslint-plugin-better-tailwindcss": "^4.0.0",
4242
"globals": "^17.0.0",
4343
"knip": "^5.69.1",
4444
"npm-run-all2": "^8.0.4",

src/pages/chooseConverter.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const chooseConverter = new Elysia().use(userService).post(
1010
<article
1111
class={`
1212
convert_to_popup absolute z-2 m-0 hidden h-[50vh] max-h-[50vh] w-full flex-col
13-
overflow-x-hidden overflow-y-auto rounded bg-neutral-800
13+
overflow-x-hidden overflow-y-auto rounded-sm bg-neutral-800
1414
sm:h-[30vh]
1515
`}
1616
>
@@ -28,7 +28,7 @@ export const chooseConverter = new Elysia().use(userService).post(
2828
// https://stackoverflow.com/questions/121499/when-a-blur-event-occurs-how-can-i-find-out-which-element-focus-went-to#comment82388679_33325953
2929
tabindex={0}
3030
class={`
31-
target rounded bg-neutral-700 p-1 text-base
31+
target rounded-sm bg-neutral-700 p-1 text-base
3232
hover:bg-neutral-600
3333
`}
3434
data-value={`${target},${converter}`}

src/pages/history.tsx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const history = new Elysia().use(userService).get(
6767
</div>
6868
<table
6969
class={`
70-
w-full table-auto overflow-y-auto rounded bg-neutral-900 text-left
70+
w-full table-auto overflow-y-auto rounded-sm bg-neutral-900 text-left
7171
[&_td]:p-4
7272
[&_tr]:rounded-sm [&_tr]:border-b [&_tr]:border-neutral-800
7373
`}
@@ -76,44 +76,44 @@ export const history = new Elysia().use(userService).get(
7676
<tr>
7777
<th
7878
class={`
79-
px-2 py-2
79+
p-2
8080
sm:px-4
8181
`}
8282
>
8383
<input
8484
type="checkbox"
8585
id="select-all"
86-
class="h-4 w-4 cursor-pointer"
86+
class="size-4 cursor-pointer"
8787
title="Select all"
8888
/>
8989
</th>
9090
<th
9191
class={`
92-
px-2 py-2
92+
p-2
9393
sm:px-4
9494
`}
9595
>
9696
<span class="sr-only">Expand details</span>
9797
</th>
9898
<th
9999
class={`
100-
px-2 py-2
100+
p-2
101101
sm:px-4
102102
`}
103103
>
104104
Time
105105
</th>
106106
<th
107107
class={`
108-
px-2 py-2
108+
p-2
109109
sm:px-4
110110
`}
111111
>
112112
Files
113113
</th>
114114
<th
115115
class={`
116-
px-2 py-2
116+
p-2
117117
max-sm:hidden
118118
sm:px-4
119119
`}
@@ -122,15 +122,15 @@ export const history = new Elysia().use(userService).get(
122122
</th>
123123
<th
124124
class={`
125-
px-2 py-2
125+
p-2
126126
sm:px-4
127127
`}
128128
>
129129
Status
130130
</th>
131131
<th
132132
class={`
133-
px-2 py-2
133+
p-2
134134
sm:px-4
135135
`}
136136
>
@@ -145,7 +145,7 @@ export const history = new Elysia().use(userService).get(
145145
<td>
146146
<input
147147
type="checkbox"
148-
class="h-4 w-4 cursor-pointer"
148+
class="size-4 cursor-pointer"
149149
data-checkbox-type="job"
150150
data-job-id={job.id}
151151
/>
@@ -158,7 +158,7 @@ export const history = new Elysia().use(userService).get(
158158
viewBox="0 0 24 24"
159159
stroke-width="1.5"
160160
stroke="currentColor"
161-
class="inline-block h-4 w-4"
161+
class="inline-block size-4"
162162
>
163163
<path
164164
stroke-linecap="round"
@@ -209,7 +209,7 @@ export const history = new Elysia().use(userService).get(
209209
xmlns="http://www.w3.org/2000/svg"
210210
viewBox="0 0 20 20"
211211
fill="currentColor"
212-
class={`mx-2 inline-block h-4 w-4 text-neutral-500`}
212+
class={`mx-2 inline-block size-4 text-neutral-500`}
213213
>
214214
<path
215215
fill-rule="evenodd"

src/pages/listConverters.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const listConverters = new Elysia().use(userService).get(
2222
<h1 class="mb-4 text-xl">Converters</h1>
2323
<table
2424
class={`
25-
w-full table-auto rounded bg-neutral-900 text-left
25+
w-full table-auto rounded-sm bg-neutral-900 text-left
2626
[&_td]:p-4
2727
[&_tr]:rounded-sm [&_tr]:border-b [&_tr]:border-neutral-800
2828
[&_ul]:list-inside [&_ul]:list-disc

src/pages/results.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ function ResultsArticle({
5151
class={`
5252
mb-4 inline-block h-2 w-full appearance-none overflow-hidden rounded-full border-0
5353
bg-neutral-700 bg-none text-accent-500 accent-accent-500
54-
[&::-moz-progress-bar]:bg-accent-500 [&::-webkit-progress-value]:rounded-full
55-
[&::-webkit-progress-value]:[background:none]
54+
[&::-moz-progress-bar]:bg-accent-500
55+
[&::-webkit-progress-value]:rounded-full [&::-webkit-progress-value]:[background:none]
5656
[&[value]::-webkit-progress-value]:bg-accent-500
5757
[&[value]::-webkit-progress-value]:transition-[inline-size]
5858
`}
5959
/>
6060
<table
6161
class={`
62-
w-full table-auto rounded bg-neutral-900 text-left
62+
w-full table-auto rounded-sm bg-neutral-900 text-left
6363
[&_td]:p-4
6464
[&_tr]:rounded-sm [&_tr]:border-b [&_tr]:border-neutral-800
6565
`}
@@ -68,23 +68,23 @@ function ResultsArticle({
6868
<tr>
6969
<th
7070
class={`
71-
px-2 py-2
71+
p-2
7272
sm:px-4
7373
`}
7474
>
7575
Converted File Name
7676
</th>
7777
<th
7878
class={`
79-
px-2 py-2
79+
p-2
8080
sm:px-4
8181
`}
8282
>
8383
Status
8484
</th>
8585
<th
8686
class={`
87-
px-2 py-2
87+
p-2
8888
sm:px-4
8989
`}
9090
>

0 commit comments

Comments
 (0)