package.json has problems with '--config' #2704
Labels
locked-due-to-inactivity
Please open a new issue and fill out the template instead of commenting.
scope:dependency
Issues that cannot be solved inside Prettier itself, and must be fixed in a dependency
Say I have this file structure:
If I cd into
/tmp
and runprettier --config /path/to/project/package.json some_file.js
, the values in the "prettier" key in the package.json are ignored. However, if I have this structure:and run
prettier --config /path/to/project/.prettierrc some_file.js
, the config values in .prettierrc are used.The text was updated successfully, but these errors were encountered: