diff --git a/.eslintrc.cjs b/.eslintrc.cjs index c6a655bd..e8f4f2e3 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -18,6 +18,7 @@ module.exports = { // Typescript '@typescript-eslint/type-annotation-spacing': 'error', + '@typescript-eslint/semi': ['error', 'never'], // Vuejs 'vue/multi-word-component-names': 0, diff --git a/package.json b/package.json index 29796bc8..f4db3bc0 100644 --- a/package.json +++ b/package.json @@ -44,6 +44,8 @@ "@nuxt/test-utils": "^3.12.0", "@vue/test-utils": "^2.4.5", "eslint": "^8.57.0", + "joi": "^17.12.2", + "valibot": "^0.30.0", "happy-dom": "^13.10.1", "nuxt": "^3.11.1", "nuxt-ui-dev-module": "workspace:*", @@ -51,7 +53,9 @@ "vitest-environment-nuxt": "^1.0.0", "vue": "^3.4.21", "vue-router": "^4.3.0", - "vue-tsc": "^2.0.6" + "vue-tsc": "^2.0.6", + "yup": "^1.4.0", + "zod": "^3.22.4" }, "resolutions": { "nuxt-ui3": "workspace:*" diff --git a/playground/app.vue b/playground/app.vue index 86e39137..41b19ed5 100644 --- a/playground/app.vue +++ b/playground/app.vue @@ -1,19 +1,48 @@