@tarantool.io/prettier-config

1.0.5 • Public • Published

@tarantool.io/prettier-config

Sharable Prettier configuration for Tarantool projects.

Installation

To install this package run the following command in the terminal in the root directory of your application.

npm install --save-dev @tarantool.io/prettier-config

Usage

Add a key in your package.json file.

{
  "prettier": "@tarantool.io/prettier-config"
}

OR

Create a .prettierrc , .prettierrc.yaml , .prettierrc.yml or .prettierrc.json file and export a string.

"@tarantool.io/prettier-config"

OR

Create a prettier.config.js or .prettierrc.js file and export an object.

module.exports = require("@tarantool.io/prettier-config");

OR

module.exports = {
  ...require("@tarantool.io/prettier-config"),
  // singleQuote: false, // to overwrite the property
};

Dependencies (5)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @tarantool.io/prettier-config

    Weekly Downloads

    162

    Version

    1.0.5

    License

    ISC

    Unpacked Size

    2.22 kB

    Total Files

    4

    Last publish

    Collaborators

    • sergos12
    • kyukhin
    • usenko.timur
    • ashelist