Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dipcode-software/prettier-config-dipcode
Shareable Prettier config for Dipcode.
https://github.com/dipcode-software/prettier-config-dipcode
Last synced: about 1 month ago
JSON representation
Shareable Prettier config for Dipcode.
- Host: GitHub
- URL: https://github.com/dipcode-software/prettier-config-dipcode
- Owner: dipcode-software
- License: mit
- Created: 2024-01-23T12:32:11.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-01-25T16:34:46.000Z (11 months ago)
- Last Synced: 2024-04-26T13:21:03.398Z (8 months ago)
- Language: Shell
- Homepage: https://www.npmjs.com/package/@dipcode/prettier-config
- Size: 57.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Dipcode Prettier config
> Shareable Prettier config for Dipcode.
- [Usage](#usage)
- [Links](#links)## Usage
The package provides Dipcode's `.prettierrc` as an extensible shared config.
Install the config
```sh
npm install --save-dev @dipcode/prettier-config
```Then edit your `package.json`
```json
{
// ...
"prettier": "@dipcode/prettier-config"
}
```If you want to extend the configuration, you have to create your own `.prettierrc.js`.
```js
import dipcodePrettierConfig from '@dipcode/prettier-config';export default {
...dipcodePrettierConfig,
// your override options
};
```## Links
- [Prettier](https://prettier.io/)