@bbodek/prettier-config
v0.0.6
Published
BBODEK Official Prettier formatting config.
Readme
@bbodek/prettier-config ·

BBODEK Official Prettier formatting config.
Installation
# with npm
npm i -D @bbodek/prettier-config prettier @trivago/prettier-plugin-sort-imports prettier-plugin-tailwindcss
# with yarn
yarn add -D @bbodek/prettier-config prettier @trivago/prettier-plugin-sort-imports prettier-plugin-tailwindcssBasic Usage
Add the following to your root package.json:
{
"prettier": "@bbodek/prettier-config"
}Customizing importOrders
To customize the importOrders, create a .prettierrc.js file in your project root.
Example:
import { createPrettierConfig } from "@bbodek/prettier-config";
export default createPrettierConfig({
internalImports: ["@components/(.*)"],
});Peer Dependencies
"peerDependencies": {
"prettier": ">= 3",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"prettier-plugin-tailwindcss": "^0.6.11"
}Reference
For the default plugins and options, see packages/prettier-config/index.js.
License
Licensed under the MIT license.
