diff --git a/.github/workflows/format_vue_code.yml b/.github/workflows/format_vue_code.yml
new file mode 100644
index 0000000000..c751e79bd0
--- /dev/null
+++ b/.github/workflows/format_vue_code.yml
@@ -0,0 +1,21 @@
+name: Vue format code 🔎
+
+on: [push, pull_request]
+
+jobs:
+ prettier:
+ runs-on: ubuntu-20.04
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+ with:
+ # Make sure the actual branch is checked out when running on pull requests
+ ref: ${{ github.head_ref }}
+
+ - name: Prettify code
+ uses: creyD/prettier_action@v4.3
+ with:
+ # This part is also where you can pass other options, for example:
+ prettier_options: assets/vue/**/*.{vue,js} -c
+ only_changed: True
diff --git a/.prettierrc.json b/.prettierrc.json
index 963354f231..a13b242fd4 100644
--- a/.prettierrc.json
+++ b/.prettierrc.json
@@ -1,3 +1,4 @@
{
- "printWidth": 120
+ "printWidth": 120,
+ "semi": false
}
diff --git a/assets/vue/components/glossary/GlossaryExportForm.vue b/assets/vue/components/glossary/GlossaryExportForm.vue
index f8e32e9d04..e94793352e 100644
--- a/assets/vue/components/glossary/GlossaryExportForm.vue
+++ b/assets/vue/components/glossary/GlossaryExportForm.vue
@@ -12,20 +12,19 @@
-