From 8ba72bc8a4ad11e8ddc8970bfe66019d0c7c0628 Mon Sep 17 00:00:00 2001 From: koziavin Date: Fri, 20 Jun 2025 14:41:42 +0400 Subject: [PATCH] fix --- .htmlvalidate.json | 10 ++++++++++ .prettierrc.json | 7 +++++++ nuxt.config.ts | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .htmlvalidate.json create mode 100644 .prettierrc.json diff --git a/.htmlvalidate.json b/.htmlvalidate.json new file mode 100644 index 0000000..71bed1a --- /dev/null +++ b/.htmlvalidate.json @@ -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" + } +} diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 0000000..c6902cd --- /dev/null +++ b/.prettierrc.json @@ -0,0 +1,7 @@ +{ + "$schema": "https://json.schemastore.org/prettierrc", + "semi": false, + "singleQuote": true, + "printWidth": 100 + } + \ No newline at end of file diff --git a/nuxt.config.ts b/nuxt.config.ts index d38f650..f4f4ff3 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -27,7 +27,7 @@ export default defineNuxtConfig({ ...config, htmlValidator: { usePrettier: true, - logLevel: "warning", + logLevel: "error", failOnError: false, }, app: {