diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 0b1cf2cc2..98931c989 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -20,7 +20,7 @@ repos:
language: node
types_or: [javascript, jsx, ts, tsx, vue]
entry: eslint -c frontend/.eslint.conf.js --fix
- additional_dependencies: ["eslint-plugin-vue"]
+ additional_dependencies: ["eslint-plugin-vue", "eslint-config-prettier", "prettier", "eslint"]
- repo: https://github.com/psf/black
rev: "24.2.0"
hooks:
diff --git a/frontend/.eslint.conf.js b/frontend/.eslint.conf.js
index 523e2a238..08d8c5542 100644
--- a/frontend/.eslint.conf.js
+++ b/frontend/.eslint.conf.js
@@ -1,7 +1,9 @@
import pluginVue from 'eslint-plugin-vue'
+import eslintConfigPrettier from 'eslint-config-prettier'
export default [
...pluginVue.configs['flat/recommended'],
+ eslintConfigPrettier,
{
rules: {
'vue/component-name-in-template-casing': [
diff --git a/frontend/src/components/account/FidoAuthForm.vue b/frontend/src/components/account/FidoAuthForm.vue
index 604052d85..0102b4061 100644
--- a/frontend/src/components/account/FidoAuthForm.vue
+++ b/frontend/src/components/account/FidoAuthForm.vue
@@ -17,7 +17,7 @@
- {{ $gettext("Registered Webauthn devices") }}
+ {{ $gettext('Registered Webauthn devices') }}
-
-
+
+
mdi-pencil
-
+
mdi-delete
-
-
-
-
- {{ $gettext('Add WebAuthN device') }}
-
-
-
-
-
- {{ $gettext('Your browser does not seem compatible with WebAuthN') }}
-
-
+
+
+
+
+ {{ $gettext('Add WebAuthN device') }}
+
+
+
+
+
+ {{
+ $gettext('Your browser does not seem compatible with WebAuthN')
+ }}
+
+
-
-
+
+
-
-
+
+
-
+