kachick / times_kachick

`#times_kachick channel in chat` as a public repository. Personal Note and TODOs
https://github.com/kachick/times_kachick/issues?q=is%3Aissue+is%3Aclosed
6 stars 0 forks source link

dprint-plugin-prettier と 個別の専用 plugin 併用時にどっちが有効になるのか? #171

Closed kachick closed 2 years ago

kachick commented 2 years ago

https://github.com/dprint/dprint-plugin-prettierhttps://github.com/dprint/dprint-plugin-typescript 両方入れた時に dprint-plugin-typescript 側が動いてほしいけど本当にそうなるのか? json も。

kachick commented 2 years ago

https://github.com/dprint/dprint-plugin-prettier/releases/tag/0.9.0

{
  // etc...
  "plugins": [
    // ...add other dprint plugins here that you want to take precedence over prettier...
    "https://plugins.dprint.dev/prettier-0.9.0.json@76c20538ea4231b3daa9b62059f90ec144200cab5477b7e95b730cbb3ed48957"
  ]
}

と書いてあるので、優先したい他の plugin を先に書けばそれでよさそう。