Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexey-koran/prettier-config
Shared prettier config
https://github.com/alexey-koran/prettier-config
prettier
Last synced: about 1 month ago
JSON representation
Shared prettier config
- Host: GitHub
- URL: https://github.com/alexey-koran/prettier-config
- Owner: alexey-koran
- License: mit
- Created: 2023-01-28T14:59:09.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-21T18:29:37.000Z (6 months ago)
- Last Synced: 2024-12-16T12:07:19.070Z (about 2 months ago)
- Topics: prettier
- Language: JavaScript
- Homepage: https://npmjs.com/@alexey-koran/prettier-config
- Size: 6.84 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `@alexey-koran/prettier-config`
Prettier [sharing configuration](https://prettier.io/docs/en/configuration.html#sharing-configurations)
### Installation
```bash
pnpm i -D @alexey-koran/prettier-config
```### Usage
prettier.config.mjs
```js
import externalConfig from '@alexey-koran/prettier-config';/** @type {import('prettier').Config} */
export default {
...externalConfig,
};
```### [Example](https://github.com/alexey-koran/react-template/blob/main/prettier.config.mjs)