Skip to content

Commit 5beaca0

Browse files
juliusmarmingegabrielMalonso
authored andcommitted
Upgrade oxfmt and oxlint tooling versions (pingdotgg#1010)
1 parent 966b355 commit 5beaca0

4 files changed

Lines changed: 35 additions & 25 deletions

File tree

apps/web/src/components/BranchToolbar.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import {
1313
} from "./BranchToolbar.logic";
1414
import { BranchToolbarBranchSelector } from "./BranchToolbarBranchSelector";
1515
import { Select, SelectItem, SelectPopup, SelectTrigger, SelectValue } from "./ui/select";
16-
import { Button } from "./ui/button";
1716

1817
const envModeItems = [
1918
{ value: "local", label: "Local" },

apps/web/src/components/ChatView.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,17 @@ const COMPOSER_PATH_QUERY_DEBOUNCE_MS = 120;
176176
const SCRIPT_TERMINAL_COLS = 120;
177177
const SCRIPT_TERMINAL_ROWS = 30;
178178

179+
const extendReplacementRangeForTrailingSpace = (
180+
text: string,
181+
rangeEnd: number,
182+
replacement: string,
183+
): number => {
184+
if (!replacement.endsWith(" ")) {
185+
return rangeEnd;
186+
}
187+
return text[rangeEnd] === " " ? rangeEnd + 1 : rangeEnd;
188+
};
189+
179190
interface ChatViewProps {
180191
threadId: ThreadId;
181192
}

bun.lock

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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
},
5454
"devDependencies": {
5555
"@types/node": "catalog:",
56-
"oxfmt": "^0.35.0",
57-
"oxlint": "^1.50.0",
56+
"oxfmt": "^0.40.0",
57+
"oxlint": "^1.55.0",
5858
"turbo": "^2.3.3",
5959
"vitest": "catalog:"
6060
},

0 commit comments

Comments
 (0)