mirror of
https://github.com/graphql-hive/console
synced 2026-04-21 22:47:17 +00:00
19 lines
615 B
JavaScript
19 lines
615 B
JavaScript
const { plugins, ...prettierConfig } = require('@theguild/prettier-config');
|
|
/**
|
|
* @type {import('prettier').Config}
|
|
*/
|
|
|
|
module.exports = {
|
|
...prettierConfig,
|
|
importOrderParserPlugins: ['importAssertions', ...prettierConfig.importOrderParserPlugins],
|
|
plugins: [
|
|
'prettier-plugin-sql',
|
|
...plugins,
|
|
// For sort CSS classes.
|
|
// Make sure to keep this one last, see: https://github.com/tailwindlabs/prettier-plugin-tailwindcss#compatibility-with-other-prettier-plugins
|
|
'prettier-plugin-tailwindcss',
|
|
],
|
|
// prettier-plugin-sql options
|
|
language: 'postgresql',
|
|
keywordCase: 'upper',
|
|
};
|