Skip to content

Commit 9327384

Browse files
committed
Update biome and format
1 parent 83fa906 commit 9327384

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

plain-admin/plain/admin/assets/admin/admin.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ could unintentionally overwrite those since our CSS is combined.
77
*/
88
table {
99
width: 100%;
10-
font-size: .875rem;
10+
font-size: 0.875rem;
1111
line-height: 1.25rem;
1212
table-layout: auto;
1313
}
@@ -74,7 +74,10 @@ main button {
7474
background-color: #2a2826;
7575
border: 1px solid #3f3d3b;
7676
border-radius: 6px;
77-
transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
77+
transition:
78+
background-color 0.2s,
79+
border-color 0.2s,
80+
transform 0.2s;
7881
cursor: pointer;
7982
flex-shrink: 0;
8083

plain-admin/plain/admin/assets/admin/admin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ jQuery(($) => {
22
$("[data-toggle]").on("click", function (e) {
33
e.preventDefault();
44
const targets = $(this).data("toggle").split(",");
5-
$.each(targets, (index, target) => {
5+
$.each(targets, (_index, target) => {
66
const $target = $(target);
77
if ($target.data("toggle-class")) {
88
$target.toggleClass($target.data("toggle-class"));
@@ -12,7 +12,7 @@ jQuery(($) => {
1212
});
1313
});
1414

15-
$("[data-autosubmit]").on("change", function (e) {
15+
$("[data-autosubmit]").on("change", function (_e) {
1616
$(this).closest("form").submit();
1717
});
1818

plain-pageviews/plain/pageviews/assets/pageviews/pageviews.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
try {
1616
const scriptUrl = new URL(scriptTag.src);
1717
trackUrl = `${scriptUrl.origin}${defaultTrackPath}`;
18-
} catch (error) {
18+
} catch (_error) {
1919
trackUrl = defaultTrackPath;
2020
}
2121
}

plain-tunnel/server/worker.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export default {
2-
async fetch(request, env, context) {
2+
async fetch(request, env, _context) {
33
const url = new URL(request.url);
44
let subdomain = null;
55

@@ -31,7 +31,7 @@ export default {
3131
};
3232

3333
export class Tunnel {
34-
constructor(state, env) {
34+
constructor(_state, _env) {
3535
// this.state = state;
3636
// this.env = env;
3737
this.clientSocket = null;
@@ -47,7 +47,7 @@ export class Tunnel {
4747
return this.handleHttpRequest(request);
4848
}
4949

50-
handleWebSocket(request) {
50+
handleWebSocket(_request) {
5151
const [client, server] = Object.values(new WebSocketPair());
5252

5353
// Check against reserved subdomains

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,4 @@ members = [
7373
]
7474

7575
[tool.plain.code.biome]
76-
version = "1.9.4"
76+
version = "2.0.6"

0 commit comments

Comments
 (0)