Skip to content

Commit c582290

Browse files
committed
fix lint
1 parent cdca494 commit c582290

9 files changed

Lines changed: 20 additions & 19 deletions

File tree

docs/app/(home)/_components/DigitalCommons.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ export const DigitalCommons: React.FC = () => {
3939

4040
{/* Headline - editorial style */}
4141
<h2 className="mb-6 font-serif text-3xl leading-tight text-white md:text-4xl">
42-
Three nations choose
43-
<br />
42+
Three nations choose <br />
4443
<span className="bg-gradient-to-r from-purple-300 to-blue-300 bg-clip-text text-transparent">
4544
open source
4645
</span>{" "}
@@ -66,8 +65,8 @@ export const DigitalCommons: React.FC = () => {
6665

6766
{/* Compelling social proof - simpler */}
6867
<p className="mb-8 text-sm italic text-stone-500">
69-
"Building Digital Commons means better tools, data sovereignty,
70-
and shared progress."
68+
&quot;Building Digital Commons means better tools, data
69+
sovereignty, and shared progress.&quot;
7170
</p>
7271

7372
{/* CTA */}

docs/app/(home)/_components/Letter.tsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const Letter: React.FC = () => {
1616
<div className="relative">
1717
<div className="mb-16">
1818
<h2 className="font-serif text-6xl font-medium italic tracking-tight text-stone-900 md:text-8xl">
19-
Let's build.
19+
Let&apos;s build.
2020
</h2>
2121
</div>
2222

@@ -30,11 +30,12 @@ export const Letter: React.FC = () => {
3030
</p>
3131
<p>
3232
We believe that great tools should be{" "}
33-
<strong>sovereign</strong> by default. You shouldn't have to
34-
choose between a cohesive UX and owning your infrastructure.
33+
<strong>sovereign</strong> by default. You shouldn&apos;t have
34+
to choose between a cohesive UX and owning your
35+
infrastructure.
3536
</p>
3637
<p>
37-
That's why we built BlockNote. A{" "}
38+
That&apos;s why we built BlockNote. A{" "}
3839
<strong>batteries-included</strong> editor that gives you a
3940
Notion-quality experience in minutes, while staying grounded
4041
in open standards like{" "}
@@ -46,8 +47,8 @@ export const Letter: React.FC = () => {
4647
</div>
4748
<div className="mt-12 text-lg text-stone-600">
4849
<p>
49-
Whether you're a startup or a public institution, you deserve
50-
software that lasts. Join us to{" "}
50+
Whether you&apos;re a startup or a public institution, you
51+
deserve software that lasts. Join us to{" "}
5152
<span className="relative inline-block font-medium text-stone-900">
5253
shape the future
5354
<svg

docs/app/(home)/_components/OpenSource.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export const OpenSource: React.FC = () => {
7373
<p className="mx-auto max-w-3xl text-lg leading-relaxed text-stone-300">
7474
Document editing is foundational infrastructure for the modern
7575
workforce. We believe the tools we use to create and share knowledge
76-
should be open, transparent, and free from lock-in. That's why
76+
should be open, transparent, and free from lock-in. That&apos;s why
7777
everything we build is open source.
7878
</p>
7979
</div>

docs/app/(home)/_components/Pricing.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const Pricing: React.FC = () => {
1515
Subscribe to BlockNote XL.
1616
</h2>
1717
<p className="mx-auto max-w-2xl text-lg text-stone-500">
18-
BlockNote is 100% open source. Here's how licensing works.
18+
BlockNote is 100% open source. Here&apos;s how licensing works.
1919
</p>
2020
</div>
2121

docs/app/(home)/_components/Testimonials.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const TestimonialCard: React.FC<{ testimonial: Testimonial }> = ({
4343
{testimonial.company}
4444
</div>
4545
<p className="mb-6 flex-1 text-sm leading-relaxed text-stone-500">
46-
"{testimonial.quote}"
46+
&quot;{testimonial.quote}&quot;
4747
</p>
4848
<div className="flex items-center gap-3">
4949
<div className="flex h-10 w-10 items-center justify-center rounded-full bg-stone-100 text-sm font-medium text-stone-600">
@@ -89,7 +89,7 @@ export const Testimonials: React.FC = () => {
8989
href="/examples"
9090
className="group flex items-center gap-2 rounded-xl border border-stone-200 bg-white px-8 py-4 font-medium text-stone-900 shadow-sm transition-all hover:border-purple-300 hover:shadow-md"
9191
>
92-
<span>See who's using BlockNote</span>
92+
<span>See who&apos;s using BlockNote</span>
9393
<span className="transition-transform group-hover:translate-x-1">
9494
9595
</span>

docs/app/(home)/_components/USP.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const USP = () => {
77
<div className="mx-auto max-w-7xl px-6">
88
<div className="mx-auto mb-20 max-w-3xl text-center">
99
<h2 className="mb-6 font-serif text-4xl text-stone-900">
10-
The editor you'd build, if you had the time.
10+
The editor you&apos;d build, if you had the time.
1111
</h2>
1212
{/* <p className="text-lg text-stone-500">
1313
BlockNote combines a premium editing experience with the flexibility

docs/app/demo/_components/DemoEditor.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ export function DemoEditor() {
9292
// Initial check
9393
const hash = window.location.hash.replace("#", "");
9494
if (hash) {
95+
// eslint-disable-next-line
9596
setRoomId(hash);
9697
setIsNewRoom(false);
9798
} else {

docs/app/pricing/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ const tiers: Tier[] = [
4747
</TooltipTrigger>
4848
<TooltipContent className="max-w-[280px] p-3 leading-normal">
4949
BlockNote is MPL-licensed. This is close to MIT and free for any
50-
use. The key difference is a "share-alike" requirement: if you
51-
modify BlockNote's internal files, you must share those specific
52-
changes.
50+
use. The key difference is a &quot;share-alike&quot; requirement:
51+
if you modify BlockNote&apos;s internal files, you must share
52+
those specific changes.
5353
</TooltipContent>
5454
</Tooltip>
5555
</TooltipProvider>{" "}

packages/xl-ai-server/src/routes/mock.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ regularRoute.post("/streamText", async (c) => {
3737
const { messages } = await c.req.json();
3838
const blockId =
3939
messages[messages.length - 1].metadata.documentState.blocks[0].id;
40-
console.log(blockId);
40+
// console.log(blockId);
4141
MANUAL_TOOL_CALLS[0].args.operations[0].referenceId = blockId;
4242
const stream = createUIMessageStream<any>({
4343
execute: async ({ writer }) => {

0 commit comments

Comments
 (0)