https://github.com/joaopalmeiro/prettier-config
My personal Prettier config.
https://github.com/joaopalmeiro/prettier-config
Last synced: about 1 month ago
JSON representation
My personal Prettier config.
- Host: GitHub
- URL: https://github.com/joaopalmeiro/prettier-config
- Owner: joaopalmeiro
- License: mit
- Created: 2021-12-26T20:51:42.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-30T10:00:53.000Z (about 1 year ago)
- Last Synced: 2025-03-17T09:08:29.361Z (about 2 months ago)
- Homepage: https://www.npmjs.com/package/@joaopalmeiro/prettier-config
- Size: 105 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `@joaopalmeiro/prettier-config`
My personal [Prettier](https://prettier.io) config.
- [Source code](https://github.com/joaopalmeiro/prettier-config)
- [npm package](https://www.npmjs.com/package/@joaopalmeiro/prettier-config)
- [Licenses](https://licenses.dev/npm/%40joaopalmeiro%2Fprettier-config/0.2.0)## Getting Started
### Installation
```bash
npm install --save-dev @joaopalmeiro/prettier-config
```or
```bash
yarn add --dev @joaopalmeiro/prettier-config
```or
```bash
pnpm add --save-dev @joaopalmeiro/prettier-config
```or
```bash
bun add --dev @joaopalmeiro/prettier-config
```### Usage
To use this configuration, choose one of the options below.
#### Edit the `package.json` file
```json
{
"prettier": "@joaopalmeiro/prettier-config"
}
```#### Create a `.prettierrc` file
```json
"@joaopalmeiro/prettier-config"
```Check the [Configuration Overrides](https://prettier.io/docs/en/configuration.html#configuration-overrides) and [Sharing configurations](https://prettier.io/docs/en/configuration.html#sharing-configurations) sections in the Prettier documentation to learn how to override this configuration.
## References
Check out the [Awesome Prettier](https://gitlab.com/joaommpalmeiro/awesome-prettier) repo.
## Development
Install [fnm](https://github.com/Schniz/fnm) (if necessary).
```bash
fnm install && fnm use && node --version && npm --version
``````bash
npm install
``````bash
npm run lint
``````bash
npm run format
```## Deployment
```bash
npm pack --dry-run
``````bash
npm version patch
``````bash
npm version minor
``````bash
npm version major
```- Update the version in the `Licenses` link at the top.
- Commit and push changes.
- Create a tag on [GitHub Desktop](https://github.blog/2020-05-12-create-and-push-tags-in-the-latest-github-desktop-2-5-release/).
- Check [GitHub](https://github.com/joaopalmeiro/prettier-config/tags).```bash
npm login
``````bash
npm publish
```- Check [npm](https://www.npmjs.com/package/@joaopalmeiro/prettier-config).