@tarantool.io/prettier-config
v1.0.5
Published
Sharable Prettier configuration for Tarantool projects.
Downloads
1,451
Readme
@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
};