UNPKG

@sanity/prettier-config

Version:
47 lines (41 loc) 788 B
declare const config: { printWidth: 100 semi: false singleQuote: true quoteProps: 'consistent' bracketSpacing: false plugins: ['prettier-plugin-packagejson'] overrides: [typeof json5, typeof yaml, typeof oxc, typeof oxcTs] endOfLine: 'lf' tabWidth: 2 useTabs: false } export default config declare const json5: { files: ['*.json5'] options: { quoteProps: 'preserve' singleQuote: false } } declare const oxc: { files: ['**/*.{js,mjs,cjs,jsx}'] options: { plugins: ['@prettier/plugin-oxc'] parser: 'oxc' } } declare const oxcTs: { files: ['**/*.{ts,mts,cts,tsx}'] options: { plugins: ['@prettier/plugin-oxc'] parser: 'oxc-ts' } } declare const yaml: { files: ['*.yml'] options: { singleQuote: false } } export {}