Is there a way to run “prettier” with only specific options turned on?

前端 未结 0 1225
野性不改
野性不改 2020-12-15 10:44

For example if I only wanted to specify say tabWidth 4:

const prettier = require ("prettier");

var FORMATTED = prettier.format ("foo ( );"         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题