@0x57/prettier-config
v2.0.0
Published
Shared Prettier configuration used by 0x57 projects
Readme
@0x57/prettier-config
An opinionated shared prettier config.
Usage
Install the package:
bun add -D @0x57/prettier-configThen create a prettier.config.mjs file in your project root:
import { config } from "@0x57/prettier-config";
export default config;Tailwind Stylesheet
If you're using Tailwind v4, you can specify the path to your stylesheet in the config:
import { tailwindConfig } from "@0x57/prettier-config";
const prettierConfig = {
...tailwindConfig,
// Customize tailwind stylesheet path
tailwindStylesheet: "./app/tailwind/styles.css",
};
export default prettierConfig;By default, the config sets tailwindStylesheet to use the path "./app/styles.css".
