mirror of
https://github.com/graphql-hive/console
synced 2026-04-21 14:37:17 +00:00
24 lines
685 B
JavaScript
24 lines
685 B
JavaScript
const { plugins, ...prettierConfig } = require('@theguild/prettier-config');
|
|
/**
|
|
* @type {import('prettier').Config}
|
|
*/
|
|
|
|
module.exports = {
|
|
...prettierConfig,
|
|
importOrderParserPlugins: [
|
|
'importAssertions',
|
|
// `using` keyword
|
|
'explicitResourceManagement',
|
|
...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',
|
|
};
|