teableio/teable

View on GitHub
.prettierrc.js

Summary

Maintainability
A
0 mins
Test Coverage
// @ts-check

const { getPrettierConfig } = require('@teable/eslint-config-bases/helpers');

const { overrides = [], ...prettierConfig } = getPrettierConfig();

/**
 * @type {import('prettier').Config}
 */
const config = {
  ...prettierConfig,
  overrides: [
    ...overrides,
    ...[
      {
        files: '*.md',
        options: {
          singleQuote: false,
          quoteProps: 'preserve',
        },
      },
    ],
  ],
};

module.exports = config;