jscheid / prettier.el

Prettier code formatting for Emacs.
GNU General Public License v3.0
172 stars 12 forks source link

prettier runs on buffer save after pretttier-mode is disabled #106

Closed dsana123 closed 2 years ago

dsana123 commented 2 years ago

Describe the bug When I disable prettier-mode and then save the buffer, prettier still runs on buffer save

Link to M-x prettier-info output https://gist.github.com/dsana123/6ef6db18009a2d357662d15a6cf63b3d

To Reproduce

Expected behavior I expect that prettier should not run on buffer save

Additional context

dsana123 commented 2 years ago

I have tested the latest release that was pushed to MELPA (details below), and it fixes the issue. This PR fixed the issue: https://github.com/jscheid/prettier.el/pull/107

Package prettier is installed.

     Status: Installed in ‘prettier-20220530.1042/’ (unsigned). [Delete]
    Version: 20220530.1042
     Commit: 5c0304876b68a4faf125a039451098bd448a49bf
    Summary: Code formatting with Prettier
   Requires: emacs-26.1, iter2-0.9, nvm-0.2
    Website: https://github.com/jscheid/prettier.el
   Keywords: [convenience] [languages] [files]
 Maintainer: Julian Scheid <julians37@gmail.com>
     Author: Julian Scheid <julians37@gmail.com>
Other versions: 20220530.1042 (melpa), 1.2.0 (melpa-stable).
jscheid commented 2 years ago

Thanks for the report!