@axioned/prettier-config
v1.1.3
Published
Axioned's shared Prettier config
Maintainers
Readme
prettier-config
Axioned's shared Prettier config
Installation
bun add -d @axioned/prettier-config prettierUsage
Recommended — package.json field
Add a prettier key to your package.json:
{
"prettier": "@axioned/prettier-config"
}Extending the config
To override specific options, create a prettier.config.mjs at your project root:
import axionedPrettier from "@axioned/prettier-config";
/** @type {import("prettier").Config} */
const config = {
...axionedPrettier,
// your overrides here
};
export default config;Format scripts
{
"scripts": {
"format": "prettier --check .",
"format:fix": "prettier --write ."
}
}