https://github.com/jessety/prettier-config
Prettier config by @jessety
https://github.com/jessety/prettier-config
prettier prettier-config
Last synced: 8 months ago
JSON representation
Prettier config by @jessety
- Host: GitHub
- URL: https://github.com/jessety/prettier-config
- Owner: jessety
- License: mit
- Created: 2021-08-28T22:11:24.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-16T03:36:56.000Z (over 3 years ago)
- Last Synced: 2025-02-04T10:37:29.172Z (8 months ago)
- Topics: prettier, prettier-config
- Language: JavaScript
- Homepage: https://npmjs.com/package/@jessety/prettier-config
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @jessety/prettier-config
Yet another Prettier [shareable config](https://prettier.io/docs/en/configuration.html#sharing-configurations).
[](https://github.com/jessety/prettier-config/actions/workflows/ci.yml)
[](https://www.npmjs.com/package/@jessety/prettier-config)
[](https://github.com/jessety/prettier-config/blob/main/LICENSE)## Installation
```shell script
npm i -D prettier @jessety/prettier-config
```## Usage
Reference this package in the `prettier` section of your `package.json`:
```json
{
"name": "your-package-name",
"version": "1.0.0",
"prettier": "@jessety/prettier-config"
}
```Alternatively, export a string to that references this package from your `prettier` config file.
For example, a valid `.prettierrc.json` file would be:
```json
"@jessety/prettier-config"
```## Extending
To extend this config file in your project, use a `.prettierrc.js` file:
```javascript
module.exports = {
...require('@jessety/prettier-config'),
printWidth: 100,
};
```## License
MIT © Jesse Youngblood