@sanity/prettier-config
Version:
Sanity.io Prettier shared configuration
31 lines (27 loc) • 493 B
text/typescript
declare const config: {
printWidth: 100
semi: false
singleQuote: true
quoteProps: 'consistent'
bracketSpacing: false
plugins: ['prettier-plugin-packagejson']
overrides: [typeof json5, typeof yaml]
endOfLine: 'lf'
tabWidth: 2
useTabs: false
}
export default config
declare const json5: {
files: ['*.json5']
options: {
quoteProps: 'preserve'
singleQuote: false
}
}
declare const yaml: {
files: ['*.yml']
options: {
singleQuote: false
}
}
export {}