queen-raae / gatsby-remark-oembed

A GatsbyJS Plugin that transforms oembed links into its corresponding embed code.
https://gatsby-remark-oembed.netlify.com/
MIT License
162 stars 25 forks source link

Align the format scripts and prettier configs #123

Closed raae closed 3 years ago

raae commented 3 years ago

So that one can get correct formatting on save in for instance vscode.

It seems prettier and the options set in format scripts are not the same.

raae commented 3 years ago

According to Prettier docs:

It’s better to use a configuration file for formatting options like --single-quote and --trailing-comma instead of passing them as CLI flags. This way the Prettier CLI, editor integrations, and other tooling can all know what options you use.

So I am thinking lets use default prettier on the whole code base.

raae-bot commented 2 years ago

:tada: This issue has been resolved in version 0.2.0-next.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

raae-bot commented 2 years ago

:tada: This issue has been resolved in version 0.2.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: