prettier-config-laozhu

1.0.0 • Public • Published

prettier-config-laozhu Prettier

Shareable prettier configuration used by laozhu

Installation

Use npx to install peerdeps automatically or install peerDependencies with npm/yarn manually.

# Install with npx 
$ npx install-peerdeps --dev prettier-config-laozhu
 
# Install with yarn 
$ yarn add --dev prettier prettier-config-laozhu

Usage

Reference it in your package.json:

{
  "name": "your-project",
  "version": "1.0.0",
  "prettier": "prettier-config-laozhu"
}

You can override configs after require module in prettier.config.js.

const prettierConfig = require('prettier-config-laozhu');
 
module.exports = {
  ...prettierConfig,
  // Override with your configs here, e.g. printWidth: 120
};

License

MIT License

Readme

Keywords

Package Sidebar

Install

npm i prettier-config-laozhu

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.17 kB

Total Files

5

Last publish

Collaborators

  • shiaohoo