1.0.4 • Published 2 years ago

@axioned/prettier-config v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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.

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago