aboutsummaryrefslogtreecommitdiff
path: root/.prettierrc.cjs
blob: 105e7f0bf4526ca06d3cf4dcb072ccdd6cb6f252 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// @ts-check

/**
 * @type {import('prettier').Options}
 */
module.exports = {
  plugins: [require.resolve('prettier-plugin-organize-imports')],
  singleQuote: true,
  overrides: [
    {
      files: '*.json5',
      options: {
        parser: 'json5',
        quoteProps: 'preserve',
        singleQuote: false,
        trailingComma: 'none',
      },
    },
  ],
};