1.0.2 • Published 11 months ago

@kiridevs_configs/prettier v1.0.2

Weekly downloads
-
License
Unlicense
Repository
github
Last release
11 months ago

@kiridevs_configs/prettier

This package contains my personal default prettier.config.js

Usage

Consult LICENSE.md for license information.

This package is published on npm.

After installing it, configure prettier to use it via package.json:

// package.json
"prettier": "@kiridevs_configs/prettier/prettier.config.js"

Extending

To extend / partially override the options of this config, create a new prettier.config.js in your own project. There, you can import this package and re-export your modified object:

import prettierConfig from "@kiridevs_config/prettier";

module.exports = {
  // Interpolate @kiridevs_configs/prettier via the spread operator
  ...prettierConfig,

  // Overriding options
  tabWidth: 4,
  endOfLine: "crlf"
};
1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago