1.0.0 • Published 2 years ago

@andrewmcodes/prettier-config v1.0.0

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

@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

1.0.0

2 years ago