@weiland/prettier-config
v2.0.5
Published
@weiland's prettier config.
Readme
@weiland's prettier config
Prettier config for my projects.
Install the npm package
# using npm:
npm add --save-dev @weiland/prettier-config
# using pnpm:
pnpm add --save-dev @weiland/prettier-config
# using yarn:
npm add --dev @weiland/prettier-config
# using bun:
bun add --dev @weiland/prettier-configAdd prettier key to the package.json
{
"prettier": "@weiland/prettier-config"
}or
Create a prettier.config.mjs
file with following contents:
import weilandPrettierConfig from '@weiland/prettier-config'
/**
* @type {import('prettier').Config}
*/
const config = {
...weilandPrettierConfig,
semi: false,
}
export default configAlso make sure to have installed prettier in your project or on your machine.
