简体   繁体   中英

Do not reformat JSX destructuring code style in pre-commit in WebStorm

I use this option:

在此处输入图片说明

Before reformat: 在此处输入图片说明

After reformat: 在此处输入图片说明

What settings do I need to leave code like in before ?

Please follow WEB-29268 for updates.

For now, I can only suggest disabling Align when multiline in Settings | Editor | Code Style | JavaScript | Wrapping and Braces | Function declaration parameters .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM