From a83ca29b4f18bbb29ec3ec405b2fcefa7c911980 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Sat, 4 Mar 2023 23:04:03 +0100 Subject: [PATCH] [misc] Formatting --- docs/.vuepress/.dir-locals.el | 4 +++- docs/.vuepress/client.ts | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/.vuepress/.dir-locals.el b/docs/.vuepress/.dir-locals.el index f9a5883..e22710f 100644 --- a/docs/.vuepress/.dir-locals.el +++ b/docs/.vuepress/.dir-locals.el @@ -1,4 +1,6 @@ ;;; Directory Local Variables -*- no-byte-compile: t -*- ;;; For more information see (info "(emacs) Directory Variables") -((typescript-mode . ((typescript-indent-level . 2)))) +((typescript-mode . ((prettier-js-args . ("--single-quote" "--jsx-single-quote")) + (typescript-indent-level . 2))) + (scss-mode . ((prettier-js-args . ("--single-quote" "--jsx-single-quote"))))) diff --git a/docs/.vuepress/client.ts b/docs/.vuepress/client.ts index e5e58f0..c9704b0 100644 --- a/docs/.vuepress/client.ts +++ b/docs/.vuepress/client.ts @@ -2,10 +2,10 @@ import { defineClientConfig } from '@vuepress/client'; import ImgFigure from './components/ImgFigure.vue'; export default defineClientConfig({ - enhance({app}) { + enhance({ app }) { app.component('ImgFigure', ImgFigure); }, setup() {}, layouts: {}, rootComponents: [], -}) +});