简体   繁体   中英

Prettier PHP Plugin congfiguration with sublime text editor

How do you set configuration variables? I'm able to prettify my PHP code on save, but I have no idea where i should put plugin-specific values as they're defined here https://github.com/prettier/plugin-php#configuration

Prettier uses cosmiconfig for configuration file support. This means you can configure Prettier via (in order of precedence)

found the answer here:

https://prettier.io/docs/en/configuration.html

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