Skip to content

Commit

Permalink
Update Biome to v1.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
yanthomasdev committed Oct 13, 2024
1 parent b55cdcd commit d2f7645
Show file tree
Hide file tree
Showing 8 changed files with 54 additions and 46 deletions.
13 changes: 12 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"$schema": "https://biomejs.dev/schemas/1.9.3/schema.json",
"organizeImports": {
"enabled": true
},
Expand All @@ -15,6 +15,17 @@
"recommended": true,
"style": {
"useNodejsImportProtocol": "error"
},
"correctness": {
"noUnusedImports": "error"
},
"suspicious": {
"noConsole": {
"options": {
"allow": ["warn", "error", "info", "time", "timeEnd"]
},
"level": "error"
}
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions docs/src/styles/landing.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
--overlay-blurple: hsla(var(--purple-hsl), 0.2);
}

:root[data-theme='light'] {
:root[data-theme="light"] {
--purple-hsl: 262, 80%, 56%;
}

Expand All @@ -12,7 +12,7 @@
linear-gradient(215deg, var(--overlay-blurple), transparent 40%),
radial-gradient(var(--overlay-blurple), transparent 40%) no-repeat -60vw -40vh / 105vw 200vh,
radial-gradient(var(--overlay-blurple), transparent 65%) no-repeat 50% calc(100% + 20rem) /
60rem 30rem;
60rem 30rem;
}

[data-has-hero] header {
Expand Down
2 changes: 1 addition & 1 deletion docs/src/styles/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
--sl-color-black: #1a171c;
}
/* Light mode colors. */
:root[data-theme='light'] {
:root[data-theme="light"] {
--sl-color-accent-low: #d7d0ff;
--sl-color-accent: #7a23f8;
--sl-color-accent-high: #371b70;
Expand Down
2 changes: 1 addition & 1 deletion examples/starlight/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ import { createLunaria } from '@lunariajs/core';
console.time('Lunaria benchmark');
const lunaria = await createLunaria();
const status = await lunaria.getFullStatus();
console.log(status);
console.info(status);
console.timeEnd('Lunaria benchmark');
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"docs": "pnpm --filter lunaria-docs dev"
},
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@biomejs/biome": "1.9.3",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.26.2",
"@total-typescript/tsconfig": "^1.0.4",
Expand Down
2 changes: 0 additions & 2 deletions packages/core/src/integrations/schema.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import type { Consola, InputLogObject, LogType } from 'consola';
import { z } from 'zod';
import { BaseLunariaConfigSchema, FileSchema } from '../config/schema.js';
import type { LunariaUserConfig } from '../config/types.js';

export const LunariaPreSetupSchema = BaseLunariaConfigSchema.extend({
sourceLocale: z.string().optional(),
Expand Down
1 change: 0 additions & 1 deletion packages/core/tests/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import type { LunariaUserConfig } from '../dist/index.js';
import type { CompleteLunariaUserConfig } from '../dist/integrations/types.js';

export const sampleValidConfig: CompleteLunariaUserConfig = {
Expand Down
74 changes: 37 additions & 37 deletions pnpm-lock.yaml

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

0 comments on commit d2f7645

Please sign in to comment.