sandbox/npm/prettier-config/README.md
Yongmin Hong 9afee876a5
npm(README): add shields.io badges
Summary:
Not worthy of new release though.

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

Test Plan: Browse the markdown in editor's preview mode

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D337
2024-06-17 12:46:50 +09:00

984 B

@revi/prettier-config

NPM Version GitHub License

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