Skip to content

Commit 0c26202

Browse files
committed
fix(lint): prefix unused CODE_* consts with underscore
1 parent 271df4a commit 0c26202

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

www/app/routes/index/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const CODE_DSD = `<page-home>
4747
</template>
4848
</page-home>`;
4949

50-
const CODE_LIT = `// Lit island — app/islands/counter.ts
50+
const _CODE_LIT = `// Lit island — app/islands/counter.ts
5151
import { LitElement, html } from 'lit';
5252
export class MyCounter extends LitElement {
5353
@state() count = 0;
@@ -58,13 +58,13 @@ export class MyCounter extends LitElement {
5858
}
5959
}`;
6060

61-
const CODE_REACT = `// React island — app/islands/hello.tsx
61+
const _CODE_REACT = `// React island — app/islands/hello.tsx
6262
export default function Hello({ name }) {
6363
return <h1>Hello, {name}!</h1>;
6464
}
6565
// ReactDOMServer → DSD, zero-config SSR`;
6666

67-
const CODE_VANILLA = `// Vanilla island — app/islands/player.ts
67+
const _CODE_VANILLA = `// Vanilla island — app/islands/player.ts
6868
import { WithDsdHydration } from '@lessjs/adapter-vanilla';
6969
class MediaPlayer extends WithDsdHydration(HTMLElement) {
7070
connectedCallback() { /* upgrade logic */ }

0 commit comments

Comments
 (0)