@eis/prettier-config-elser
v1.0.4
Published
To install this package run the following command in the terminal in the root directory of your application.
Downloads
19
Readme
A shared Prettier config
Installation
To install this package run the following command in the terminal in the root directory of your application.
npm install --save-dev @eis/prettier-config-elser
OR
yarn add --dev @eis/prettier-config-elser
Usage
Add a key in your package.json file.
"prettier": "@eis/prettier-config-elser"
OR
Create a .prettierrc , .prettierrc.yaml , .prettierrc.yml or .prettierrc.json file and export a string.
"@eis/prettier-config-elser"
OR
Create a prettier.config.js or .prettierrc.js file and export an object.
module.exports = {
...require("@eis/prettier-config-elser"),
// endOfLine: 'lf', // to overwrite the property
};