diff --git a/client/.eslintrc.cjs b/client/.eslintrc.cjs new file mode 100644 index 000000000..bae286281 --- /dev/null +++ b/client/.eslintrc.cjs @@ -0,0 +1,19 @@ +module.exports = { + root: true, + extends: ['@nuxt/eslint-config'], + parser: 'vue-eslint-parser', + env: { + browser: true, + node: true, + }, + extends: ['@nuxt/eslint-config'], + rules: { + 'vue/require-default-prop': 'off', + 'vue/no-mutating-props': 'off', + semi: ['error', 'never'], + 'vue/no-v-html': 'off', + 'prefer-rest-params': 'off', + 'vue/valid-template-root': 'off', + 'no-undef': 'off', + }, +} \ No newline at end of file diff --git a/client/app.vue b/client/app.vue index 558d33ad8..f3a3ec6a2 100644 --- a/client/app.vue +++ b/client/app.vue @@ -1,103 +1,123 @@ diff --git a/client/components/forms/CheckboxInput.vue b/client/components/forms/CheckboxInput.vue index 42f40933f..bec304556 100644 --- a/client/components/forms/CheckboxInput.vue +++ b/client/components/forms/CheckboxInput.vue @@ -4,9 +4,18 @@ - + - {{ label }} * + {{ label }} + * @@ -21,28 +30,28 @@ diff --git a/client/components/forms/CodeInput.client.vue b/client/components/forms/CodeInput.client.vue index 507045744..75e4189b9 100644 --- a/client/components/forms/CodeInput.client.vue +++ b/client/components/forms/CodeInput.client.vue @@ -1,7 +1,5 @@
-
@@ -27,25 +36,25 @@ diff --git a/client/components/forms/ColorInput.vue b/client/components/forms/ColorInput.vue index 3bfa0e8f1..491afd28b 100644 --- a/client/components/forms/ColorInput.vue +++ b/client/components/forms/ColorInput.vue @@ -5,12 +5,20 @@
- - {{ label }} * + {{ label }} + *
@@ -25,21 +33,21 @@ diff --git a/client/components/forms/FileInput.vue b/client/components/forms/FileInput.vue index bb78f5058..45e7f3688 100644 --- a/client/components/forms/FileInput.vue +++ b/client/components/forms/FileInput.vue @@ -3,60 +3,117 @@ -