Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing way set --config option #394

Closed
hayes opened this issue Mar 15, 2018 · 4 comments
Closed

Missing way set --config option #394

hayes opened this issue Mar 15, 2018 · 4 comments
Labels
enhancement locked Please open a new issue and fill out the template instead of commenting.

Comments

@hayes
Copy link

hayes commented Mar 15, 2018

Prettier exposes a --config option to specify a path to a config file. This is useful if you want to put you config for prettier in a shared module. Currently the vscode plugin does not expose any way to set this option.

@hayes hayes changed the title Missing way --config option Missing way set --config option Mar 15, 2018
@CiGit
Copy link
Member

CiGit commented Mar 17, 2018

You can use your shared config by requiring it.
.prettierrc.js

module.exports = require('path/to/shared/settings')

@hayes
Copy link
Author

hayes commented Mar 17, 2018

Yup, not a hard problem to work around, just something that could be nice to have in the future. If I have some time later this weekend I might try to put a PR together

@CiGit
Copy link
Member

CiGit commented Apr 30, 2018

Closing as duplicate of #254

@CiGit CiGit closed this as completed Apr 30, 2018
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot added the locked Please open a new issue and fill out the template instead of commenting. label Apr 13, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement locked Please open a new issue and fill out the template instead of commenting.
Projects
None yet
Development

No branches or pull requests

2 participants