1.0.5 • Published 6 months ago
@nokken65/prettier-config v1.0.5
@nokken65/prettier-config
Here is my personal Prettier config.
Install
npm install @nokken65/prettier-config -Dyarn add @nokken65/prettier-config -Dpnpm add @nokken65/prettier-config -DUsage
// .prettierrc.cjs
module.exports = require('@nokken65/prettier-config')Copy the ignore file to your project folder
If you want to extend the ignore file, copy node_modules/@nokken65/prettier-config/.prettierignore to the root of your project folder:
Scripts
Some commonly used scripts in package.json.
{
"scripts": {
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json}\""
}
}