SublimeJsPrettier
SublimeJsPrettier copied to clipboard
Allow for disabling default Prettier options
Normally when running Prettier, if an option is not specified, it (usually) has no effect. However, because all of the options are predefined in the settings, I end up having formatting applied to projects that shouldn't be applied. I'd love for there to be a way to disable the options defined in Sublime Text settings (say, set prettier_options to null or have an additional parameter) so I don't have to consistently reformat my files in ESLint afterwards.
Hi @queengooborg. Try adding an additional cli arg for --config-precedence, with a value of file-override:
"additional_cli_args": {
"--config-precedence": "file-override"
}
See if this produces the behavior you're looking for.
This issue has been automatically locked due to inactivity. Please open a new issue for related bugs.