1.0.2 • Published 2 months ago

@nokken65/prettier-config v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

@nokken65/prettier-config

Here is my personal Prettier config.

Install

npm install @nokken65/prettier-config -D
yarn add @nokken65/prettier-config -D
pnpm add @nokken65/prettier-config -D

Usage

// .prettierrc.cjs
module.exports = require('@nokken65/prettier-config')

Copy the ignore file to your project folder

If you want to extend the ignore file, copy node_modules/@nokken65/prettier-config/.prettierignore to the root of your project folder:

Scripts

Some commonly used scripts in package.json.

{
  "scripts": {
    "format": "prettier --write \"**/*.{js,jsx,ts,tsx,json}\""
  }
}
1.0.2

2 months ago

1.0.1

6 months ago

1.0.0

7 months ago