1.0.4 • Published 2 years ago
@axioned/prettier-config v1.0.4
prettier-config
Prettier config used at Axioned
Usage
Install the package using npm
npm install --save-dev @axioned/prettier-config
Add the prettier
key to your package.json
"author": "Axioned (https://axioned.com)",
+ "prettier": "@axioned/prettier-config",
"main": "index.js"
OR
Create a .prettierrc , .prettierrc.yaml , .prettierrc.yml or .prettierrc.json file and export a string.
"@axioned/prettier-config"
OR
Create a prettier.config.js or .prettierrc.js file and export an object.
module.exports = {
...require("@axioned/prettier-config"),
// endOfLine: 'lf', // to overwrite the property
};
Check out the prettier
documentation for more info on sharing configurations.