@richex/prettier-config
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

@richex/prettier-config

A Prettier config for anyone.

Usage

$ cd path/to/your-project/
$ npm i -D @richex/prettier-config

And update the prettier configuration file (e.g. .prettierrc.js) in your project:

/** @type {import('prettier').Options} */
module.exports = {
  ...require("@richex/prettier-config"),
}

.editorconfig

There is also an editorconfig configuration file that you can download to your project when you need it:

$ cd path/to/your-project/
$ wget https://raw.githubusercontent.com/richex-cn/prettier-config/main/.editorconfig

Readme

Keywords

Package Sidebar

Install

npm i @richex/prettier-config

Weekly Downloads

0

Version

2.0.0

License

MIT

Unpacked Size

1.77 kB

Total Files

5

Last publish

Collaborators

  • richex