https://github.com/aboutbits/prettier-config
https://github.com/aboutbits/prettier-config
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aboutbits/prettier-config
- Owner: aboutbits
- License: mit
- Created: 2023-07-21T05:42:40.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-24T13:32:36.000Z (over 1 year ago)
- Last Synced: 2025-02-07T20:04:01.349Z (about 1 year ago)
- Homepage:
- Size: 39.1 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# @aboutbits/prettier-config
[](https://badge.fury.io/js/%40aboutbits%2Fprettier-config)
[](https://github.com/aboutbits/prettier-config/blob/main/license.md)
AboutBit's [prettier](https://prettier.io/) config
## Usage
Install the package:
```sh
npm i -D @aboutbits/prettier-config
```
Edit `package.json`:
```json
{
// ...
"prettier": "@aboutbits/prettier-config"
}
```
### Extend the preset
Create a `.prettierrc.js` file:
```js
const aboutBitsConfig = require('@aboutbits/prettier-config')
module.exports = {
...aboutBitsConfig,
singleQuote: false,
}
```
## Publish
To publish the package commit all changes and push them to main. Then run one of the following commands locally:
```sh
npm version patch
npm version minor
npm version major
```
## Information
AboutBits is a company based in South Tyrol, Italy. You can find more information about us on [our website](https://aboutbits.it).
### Support
For support, please contact [info@aboutbits.it](mailto:info@aboutbits.it).
### Credits
- [All Contributors](../../contributors)
### License
The MIT License (MIT). Please see the [license file](license.md) for more information.