4.1.1 • Published 1 year ago

@wkovacs64/prettier-config v4.1.1

Weekly downloads
106
License
MIT
Repository
github
Last release
1 year ago

@wkovacs64/prettier-config

This is my personal Prettier configuration.

npm Version Build Status changesets

Install

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

Be sure to install the appropriately versioned prettier peer dependency as well.

Usage

Follow the Prettier documentation on sharing configurations.

Examples

package.json

{
  "prettier": "@wkovacs64/prettier-config",
  "scripts": {
    ...
    "format": "prettier --cache --write .",
    "format:check": "prettier --cache --check .",
    ...
  }
}

.prettierignore

.changeset
package.json
package-lock.json

Customization

If you need to customize the configuration, you can use a dedicated Prettier config file instead of the one-liner in package.json:

prettier.config.js

import prettierConfig from '@wkovacs64/prettier-config';

/** @type {import("prettier").Options} */
export const config = {
  ...prettierConfig,
  // overrides here
};

export default config;
4.1.1

1 year ago

4.1.0

1 year ago

4.0.1

1 year ago

4.0.0

1 year ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.0

5 years ago

2.0.0

5 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago