use prettier format prisma file

This commit is contained in:
zedhugh committed 2024-11-09 06:21:59 +08:00
1 parent a537d35961
commit ee6f2c4de9
2 files changed
+2

No files matched your search

+1
View File
@@ -33,6 +33,7 @@
(with-eval-after-load 'editorconfig
(add-to-list 'editorconfig-indentation-alist '(js-ts-mode js-indent-level))
(add-to-list 'editorconfig-indentation-alist '(plantuml-mode plantuml-indent-level))
(add-to-list 'editorconfig-indentation-alist '(prisma-ts-mode prisma-ts-mode-indent-level))
(add-to-list 'editorconfig-indentation-alist '(graphviz-dot-mode graphviz-dot-indent-width)))
+1
View File
@@ -43,6 +43,7 @@
(dolist (hook '(css-mode-hook
js-base-mode-hook
json-ts-mode-hook
prisma-ts-mode-hook
typescript-mode-hook
typescript-ts-base-mode-hook))
(add-hook hook #'prettier-mode))