https://github.com/the-unicorns/prettier-config
A Prettier Shareable Config
https://github.com/the-unicorns/prettier-config
configs prettier shareable
Last synced: about 1 month ago
JSON representation
A Prettier Shareable Config
- Host: GitHub
- URL: https://github.com/the-unicorns/prettier-config
- Owner: the-unicorns
- License: mit
- Created: 2020-01-19T03:44:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-03T03:10:44.000Z (about 1 year ago)
- Last Synced: 2025-03-03T04:22:23.643Z (about 1 year ago)
- Topics: configs, prettier, shareable
- Language: JavaScript
- Homepage:
- Size: 48.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# The Unicorns Prettier Shareable Config React
[](https://circleci.com/gh/the-unicorns/prettier-config)
A Prettier [Shareable Config](https://prettier.io/docs/en/configuration.html#sharing-configurations) for Javascript based projects
## Installation
Use the package manager [npm](https://www.npmjs.com) or [yarn](https://yarnpkg.com/) to install it.
### Peer Dependencies
Peer dependencies need to be installed in order to make it work properly
```javascript
"prettier": "^1.19.1"
```
After that you should install the plugin without any problem
```bash
yarn add -D @the-unicorns/prettier-config
```
## Usage
Once the `@the-unicorns/prettier-config` package is installed, you can use it by specifying `@the-unicorns/prettier-config` in the your `.prettierrc` file.
```js
module.exports = {
...require("@the-unicorns/prettier-config"),
semi: false
};
```
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
## Contributors
- [View Contributors](https://github.com/the-unicorns/prettier-config/graphs/contributors)
## License
[MIT](https://choosealicense.com/licenses/mit/)