2.0.1 • Published 4 months ago

prettier-config-infernal v2.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

prettier-config-infernal

A personalized Prettier config from the depths of hell.

Quick Start

Install the package, along with Pretter:

npm install --save-dev prettier prettier-config-infernal

Create a .prettierrc.json file in the root of your project:

"prettier-config-infernal"

Options

This config enforces the following formatting rules:

  • Tabs for indentation
  • Double quotes for strings
  • LF line endings - you should change this if you're on Windows
  • Trailing commas
  • Arrow parentheses
  • Print width of 100 characters - works nicely on my 2k monitor with 2 windows side-by-side

Overrides

The config includes a couple of overrides for specific file types, which are listed below.

YAML

  • 4 spaces for indentation - tabs tend to break YAML files

License

This project is licensed under the MIT License - see the LICENSE file for details.

2.0.1

4 months ago

2.0.0

4 months ago

1.1.2

10 months ago

1.1.1

10 months ago

1.1.0

10 months ago

1.0.0

10 months ago