Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/harastaivan/prettier-config
My prettier configuration
https://github.com/harastaivan/prettier-config
Last synced: 9 days ago
JSON representation
My prettier configuration
- Host: GitHub
- URL: https://github.com/harastaivan/prettier-config
- Owner: harastaivan
- Created: 2023-01-22T21:26:24.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-22T22:04:20.000Z (almost 2 years ago)
- Last Synced: 2024-12-03T16:42:14.155Z (about 1 month ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@harastaivan/prettier-config
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Prettier configuration
## Usage
1. Install `prettier` and the config `@harastaivan/prettier-config`:
```sh
npm install -D prettier
npm install -D @harastaivan/prettier-config
```2. Create a file called `prettier.config.js` in the root of the project:
```sh
module.exports = require('@harastaivan/prettier-config');
```