Skip to content

Commit

Permalink
chore: update eslint and biome
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Jun 4, 2024
1 parent 9642ef6 commit 0009773
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 55 deletions.
4 changes: 2 additions & 2 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/1.7.1/schema.json",
"$schema": "https://biomejs.dev/schemas/1.8.0/schema.json",
"formatter": {
"indentStyle": "space",
"ignore": ["**/*.gen.ts"]
Expand All @@ -12,7 +12,7 @@
},
"javascript": {
"formatter": {
"trailingComma": "es5",
"trailingCommas": "es5",
"arrowParentheses": "always"
}
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
"changelogen": "^0.5.5",
"edge-runtime": "^2.5.10",
"eslint": "^9.4.0",
"eslint-config-unjs": "0.3.1",
"eslint-config-unjs": "0.3.2",
"execa": "^9.1.0",
"expect-type": "^0.19.0",
"firebase-admin": "^12.1.1",
Expand Down
66 changes: 15 additions & 51 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/presets/_nitro/runtime/nitro-dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function getAddress() {
}
const socketName = `worker-${process.pid}-${threadId}.sock`;
if (isWindows) {
return join("\\\\.\\pipe\\nitro", socketName);
return join(String.raw`\\.\pipe\nitro`, socketName);
} else {
const socketDir = join(tmpdir(), "nitro");
mkdirSync(socketDir, { recursive: true });
Expand Down

0 comments on commit 0009773

Please sign in to comment.