We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi
I have the following setting
(add-hook 'typescript-mode-hook 'prettier-js-mode)
but on save nothing happens.
thanks
The text was updated successfully, but these errors were encountered:
I have same issue, @aoshi321 you can fix that by adding a after-save-hook on your typescript emacs config. Example :
after-save-hook
(use-package typescript-mode :straight t :mode ("\\.tsx?\\'" . typescript-mode) :config (setq typescript-indent-level 2) (add-hook 'flycheck-mode-hook #'sopho/use-eslint-from-node-modules) (add-hook 'after-after-hook #'prettier-js-mode)) ; format file with prettier on save (use-package prettier-js :straight t :commands (prettier-js-mode prettier-js) :hook ((typescript-mode . prettier-js-mode)))
Sorry, something went wrong.
No branches or pull requests
Hi
I have the following setting
(add-hook 'typescript-mode-hook 'prettier-js-mode)
but on save nothing happens.
thanks
The text was updated successfully, but these errors were encountered: