Skip to content

Shared configuration for a consistent experience using Prettier.

License

Notifications You must be signed in to change notification settings

forcir/prettier-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forcir Prettier Config Logo

Shared configuration for a consistent experience using Prettier.

Install

pnpm add -DE prettier @forcir/prettier-config
yarn add -DE prettier @forcir/prettier-config
npm install -DE prettier @forcir/prettier-config

Basic Usage

package.json (recommended)

{
    // ...
    "prettier": "@forcir/prettier-config",
    // ...
    "scripts": {
        // ...
        "format": "prettier --check \"**/*.{cjs,js,json,md,ts,tsx}\"",
        "format:fix": "prettier --write \"**/*.{cjs,js,json,md,ts,tsx}\""
        // ...
    }
}

About

Shared configuration for a consistent experience using Prettier.

Topics

Resources

License

Stars

Watchers

Forks