teable/.prettierrc.js
2022-11-01 17:36:07 +08:00

29 lines
470 B
JavaScript

// @ts-check
const {
getPrettierConfig,
} = require('@teable-group/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;