sandbox/npm/prettier-config/README.md
Yongmin Hong 41b70cb468
npm(prettier-config): add README/author data, make prettier peerDependency
Summary:
Bump to 0.0.2.

For easier browsing...

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `arc land`, and `npm publish`

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D310
2024-06-14 19:49:11 +09:00

37 lines
665 B
Markdown

# @revi/prettier-config
This is [@revi](https://revi.xyz/)'s personal [prettier](https://prettier.io/docs/en/) config.
## Config
```js
const config = {
bracketSpacing: false,
bracketSameLine: true,
proseWrap: 'preserve',
singleQuote: true,
trailingComma: 'all',
overrides: [
{
files: '.arcconfig',
options: {parser: 'json'},
},
{
files: '.arclint',
options: {parser: 'json'},
},
{
files: '.arcunit',
options: {parser: 'json'},
},
{
files: '.imgbotconfig',
options: {parser: 'json'},
},
{
files: '.yamllint',
options: {parser: 'yaml'},
},
],
};
```