Skip to content

Commit 7d17493

Browse files
committed
I don't like biome
1 parent eb1fa42 commit 7d17493

5 files changed

Lines changed: 17 additions & 7 deletions

File tree

.vscode/settings.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,16 @@
66
"[json]": {
77
"editor.defaultFormatter": "biomejs.biome"
88
},
9+
"[jsonc]": {
10+
"editor.defaultFormatter": "biomejs.biome"
11+
},
12+
"[jsonl]": {
13+
"editor.defaultFormatter": "biomejs.biome"
14+
},
915
"[javascript]": {
1016
"editor.defaultFormatter": "biomejs.biome"
17+
},
18+
"[vue]": {
19+
"editor.defaultFormatter": "biomejs.biome"
1120
}
1221
}

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.3.14/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.3.15/schema.json",
33
"vcs": {
44
"enabled": true,
55
"clientKind": "git",

docs/.vitepress/components/Playground.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ const BlocklyLoading = defineComponent({
233233
},
234234
})
235235
236-
const BlocklyAsync = defineAsyncComponent({
236+
const _BlocklyAsync = defineAsyncComponent({
237237
loader: () => import('./Blockly.vue'),
238238
loadingComponent: BlocklyLoading,
239239
delay: 0,
@@ -263,7 +263,7 @@ const resizeObserver = shallowRef<ResizeObserver | null>(null)
263263
const output = ref('')
264264
const error = ref('')
265265
const isInitialLoading = ref(true)
266-
const activeOutputTab = ref<'json' | 'blocks'>('blocks')
266+
const _activeOutputTab = ref<'json' | 'blocks'>('blocks')
267267
const compiledProject = ref<ScratchProjectJsonLike | null>(null)
268268
const selectedTargetKey = ref<string | null>(null)
269269
let runDebounceTimer: ReturnType<typeof setTimeout> | null = null
@@ -328,11 +328,11 @@ const selectedTarget = computed<ScratchTargetView | null>(() => {
328328
)
329329
})
330330
331-
const selectedTargetLabel = computed(
331+
const _selectedTargetLabel = computed(
332332
() => selectedTarget.value?.name ?? 'Target',
333333
)
334334
335-
const selectedTargetBlocks = computed<PackedBlockMap | null>(() => {
335+
const _selectedTargetBlocks = computed<PackedBlockMap | null>(() => {
336336
const blocks = selectedTarget.value?.blocks
337337
return isPackedBlockMap(blocks) ? { ...blocks } : null
338338
})

docs/.vitepress/components/ShowcaseGrid/ShowcaseGrid.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
<script setup lang="ts">
3737
import { withBase } from 'vitepress'
3838
import { onMounted, onUnmounted, ref, watch } from 'vue'
39-
import { parseManifestAuthor, type ShowcaseEntry } from './types'
4039
import ShowcaseCard from './ShowcaseCard.vue'
40+
import { parseManifestAuthor, type ShowcaseEntry } from './types'
4141
4242
const entries = ref<ShowcaseEntry[]>([])
4343
const error = ref('')

docs/biome.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"linter": {
99
"rules": {
1010
"correctness": {
11-
"noUnusedVariables": "off"
11+
"noUnusedVariables": "off",
12+
"noUnusedImports": "off"
1213
}
1314
}
1415
}

0 commit comments

Comments
 (0)