1.0.0 • Published 8 months ago

@omikorin/prettier-config v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

@omikorin/prettier-config

A curated .prettierrc with explicit config for every option.

Installation

To install @omikorin/prettier-config, use your favourite package manager:

pnpm install -D @omikorin/prettier-config

Usage

Create a file named .prettierrc.js in the project's root directory with the following code.

const config = require('@omikorin/prettier-config');

module.exports = config;

or edit package.json:

{
  // ...
  "prettier": "@omikorin/prettier-config"
}

Alternatively, you can overwrite chosen options like this.

const config = require('@omikorin/prettier-config');

module.exports = {
  ...config,
  useTabs: true,
};

We all know tabs are worse than spaces and should be avoided.

License

This project is licensed under the terms of the ISC license.

1.0.0

8 months ago