prettier-config 2.1.1
Install from the command line:
Learn more about npm packages
$ npm install @spear-ai/prettier-config@2.1.1
Install via package.json:
"@spear-ai/prettier-config": "2.1.1"
About this version
A Prettier config.
yarn add -D @spear-ai/prettier-config @types/prettier prettier
Add the following to your prettier.config.cjs
file:
const basePrettierConfig = require("@spear-ai/prettier-config");
/** @type {import("prettier").Config} */
const prettierConfig = {
...basePrettierConfig,
};
module.exports = prettierConfig;