@atws/prettier-config
This package contains a simple base config for prettier.
Usage
Install prettier
and the package:
yarn add -D prettier @atws/prettier-config
Create a .prettierrc.js
file in the root of your project and extend the base config.
const preset = require('@atws/prettier-config')
/** @type {import("prettier").Options} */
const config = {
...preset,
plugins: [...preset.plugins],
}
module.exports = config