@andrewmcodes/prettier-config

@andrewmcodes Prettier config

Usage no npm install needed!

<script type="module">
  import andrewmcodesPrettierConfig from 'https://cdn.skypack.dev/@andrewmcodes/prettier-config';
</script>

README

@andrewmcodes/prettier-config

standard-readme compliant semantic-release

My shareable prettier config that I am tired of hauling around.

Table of Contents

Install

NPM

npm install --save-dev @andrewmcodes/prettier-config prettier

Yarn

yarn add -D @andrewmcodes/prettier-config prettier

Usage

You can use this a few different ways, but the recommended approach is to add it to your package.json.

package.json

{
  "name": "my-awesome-library",
  "version": "1.0.0",
  "prettier": "@andrewmcodes/prettier-config"
}

.prettierrc/.prettierrc.json

You can also create a .prettierrc/.prettierrc.json file in your project's root directory.

"@andrewmcodes/prettier-config"

.prettierrc.js

You can modify or extend the config by creating a .prettierrc.js file in your project's root directory and exporting your desired modifications.

module.exports = {
  ...require("@andrewmcodes/prettier-config"),
  singleQuote: true,
};

Maintainers

Contributing

See the contributing file!

PRs accepted.

License

MIT © 2020 Andrew Mason