Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
andyluss committed Feb 16, 2025
1 parent 72b924b commit d3562dd
Show file tree
Hide file tree
Showing 12 changed files with 620 additions and 46 deletions.
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@
"quickfix.biome": "explicit",
"source.organizeImports.biome": "explicit"
},
"editor.formatOnSave": true
"editor.formatOnSave": true,
"[json]": {
"editor.defaultFormatter": "biomejs.biome"
}
}
11 changes: 9 additions & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,19 @@ import { defineConfig } from "astro/config";
import mdx from "@astrojs/mdx";
import sitemap from "@astrojs/sitemap";
import vue from "@astrojs/vue";
import * as compiler from "vue/compiler-sfc";
import tailwind from "@astrojs/tailwind";

import db from "@astrojs/db";

// https://astro.build/config
export default defineConfig({
site: "https://lushisang.com",
integrations: [mdx(), sitemap(), vue({ devtools: true }), tailwind(), db()],
});
integrations: [
mdx(),
sitemap(),
vue({ compiler, devtools: true }),
tailwind(),
db(),
],
});
47 changes: 21 additions & 26 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,22 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.2/schema.json",
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
},
"overrides": [
{
"include": [
"*.astro"
],
"linter": {
"rules": {
"style": {
"useConst": "off",
"useImportType": "off"
}
}
}
}
]
}
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"organizeImports": {
"enabled": true
},
"formatter": {
"indentStyle": "space"
},
"overrides": [
{
"include": ["*.astro"],
"linter": {
"rules": {
"style": {
"useConst": "off",
"useImportType": "off"
}
}
}
}
]
}
Loading

0 comments on commit d3562dd

Please sign in to comment.