Support for imported prettier configs

I have a custom prettier config, published under @papaia/prettier on npm.

Currently, to use my prettier config with the project, I have to use a script (I use prestart) that formats my files using the prettier CLI.

It would be very nice if the built in integration could search the configs similar to how prettier itself does it (package.json field, prettier.config.js file, etc.).

Thanks in advance!

How I currently do it:

{
  "scripts": {
    "start": "node src/index.js",
    "prestart": "prettier --write \"{src,config}/**/*.js\"",
  },
  "devDependencies": {
    "@papaia/prettier": "^2.0.0",
    "prettier": "^2.0.5"
  },
  "prettier": "@papaia/prettier"
}