prettier-inittier

1.1.0 • Public • Published

one command, npx prettier-inittier, to install and configure prettier

prettier-inittier

Coverage lines Coverage functions Coverage branches Coverage statements

PRs Welcome License: MIT

What is this?

prettier doesn't have an --init flag to create a default config for you. There are many tools like this, but this one is mine. It installs `prettier`` using the same package manager you use for your project and creates a config file with some sensible defaults.

Usage

Requires node > v18.

npx prettier-inittier

Configuration

If you don't like the config that is generated by default, you can edit the .prettier-inittier-default file that is created in ~ after running the command.

Package Sidebar

Install

npm i prettier-inittier

Weekly Downloads

2

Version

1.1.0

License

MIT

Unpacked Size

52.2 kB

Total Files

57

Last publish

Collaborators

  • krnsk0