My shared Prettier configuration.
Using package.json
and npm
:
-
Install the package
npm i --save-dev @forevolve/prettier-config
-
Edit
package.json
:{ // ... "prettier": "@forevolve/prettier-config" }
Note that you can create a
package.json
file and use it even if your project is not using Node.js by runningnpm init
and following the instructions.
For more information, or other ways to load the package, please see the official Prettier documentation: Configuration File.
- Update a keyword to test the paths filter of the GitHub action
- Change the entry point from
index.js
toindex.json
- Initial release