Skip to content

cravingmaker/prettier-config

Repository files navigation

@cravingmaker/prettier-config

A highly opinionated, modern, and elegant Prettier configuration crafted by the cravingmaker.

Installation

Install the configuration along with Prettier using your favorite package manager:

npm install --save-dev --save-exact prettier @cravingmaker/prettier-config
yarn add --dev --exact prettier @cravingmaker/prettier-config
pnpm add --save-dev --save-exact prettier @cravingmaker/prettier-config
bun add --dev --exact prettier @cravingmaker/prettier-config

Usage

Reference this config in your package.json:

{
  "prettier": "@cravingmaker/prettier-config"
}

Or, export it from a .prettierrc.{js,mjs,ts,mts} or prettier.config.{js,mjs,ts,mts} file:

import config from "@cravingmaker/prettier-config";

export default {
  ...config
  // Add your own overrides here
};

License

MIT © cravingmaker

About

A highly opinionated, modern, and elegant Prettier configuration crafted by cravingmaker.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors