Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chialab/prettier-config
📐 Chialab's rules for Prettier.
https://github.com/chialab/prettier-config
Last synced: about 2 months ago
JSON representation
📐 Chialab's rules for Prettier.
- Host: GitHub
- URL: https://github.com/chialab/prettier-config
- Owner: chialab
- License: mit
- Created: 2023-02-16T12:04:29.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-30T17:04:36.000Z (11 months ago)
- Last Synced: 2024-11-05T01:05:34.834Z (about 2 months ago)
- Language: JavaScript
- Size: 211 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# @chialab/prettier-config
Chialab's rules for [Prettier](https://prettier.io/).
## Usage
Install Prettier:
```
npm i -D prettier
``````
yarn add -D prettier
```Install `@chialab/prettier-config`:
```
npm i -D @chialab/prettier-config
``````
yarn add -D @chialab/prettier-config
```Create a `prettier.config.js` file and add the configuration:
**prettier.config.js**
```js
import config from '@chialab/prettier-config';export default config;
```## IDE
Install the Prettier extension for your IDE (optional):
- [VSCode](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)