Merge branch 'production' of https://gitea.miduway.space/levis/ebook into production

This commit is contained in:
levis
2025-06-20 10:45:02 +00:00
3 changed files with 18 additions and 1 deletions

10
.htmlvalidate.json Normal file
View File

@ -0,0 +1,10 @@
{
"root": true,
"extends": ["html-validate:recommended"],
"rules": {
"require-meta-charset": "error",
"require-img-alt": "error",
"no-inline-style": "error",
"long-title": ["error", { "maxLength": 60 }]
}
}

7
.prettierrc.json Normal file
View File

@ -0,0 +1,7 @@
{
"$schema": "https://json.schemastore.org/prettierrc",
"semi": false,
"singleQuote": true,
"printWidth": 100
}

View File

@ -27,7 +27,7 @@ export default defineNuxtConfig({
...config,
htmlValidator: {
usePrettier: true,
logLevel: "warning",
logLevel: "error",
failOnError: false,
},
app: {