sandbox/npm/prettier-config
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
..
package.json npm(prettier-config): add README/author data, make prettier peerDependency 2024-06-14 19:49:11 +09:00
prettier.config.js npm(prettier-config): add README/author data, make prettier peerDependency 2024-06-14 19:49:11 +09:00
README.md npm(prettier-config): add README/author data, make prettier peerDependency 2024-06-14 19:49:11 +09:00

@revi/prettier-config

This is @revi's personal prettier config.

Config

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'},
    },
  ],
};