1.2.3 • Published 11 months ago

@dragunovartem99/prettier-config v1.2.3

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

Personal Prettier Config

This configuration uses explicit style, to maintain readability and minimize mistakes, for example:

  • Semicolons
  • Arrow function parentheses
  • Reasonable print width (100 chars)
  • Double quotes (some kind of C "vibe")

And it uses tabs (or 4 spaces in formats like YAML)

Installation

npm install --save-dev @dragunovartem99/prettier-config

Usage

  1. Add the configuration to your project's package.json:
{
    "scripts": {
        "format": "prettier . --write",
        "format:check": "prettier . --check"
    },
    "prettier": "@dragunovartem99/prettier-config"
}
  1. Run the formatter:
npm run format

Or check formatting without modifications:

npm run format:check

Creating your own configuration

For creating similar configurations, see:

1.2.3

11 months ago

1.2.2

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago