Skip to content

Commit

Permalink
fix: improve .d.ts output
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Apr 18, 2024
1 parent 052cf6e commit 7ca6335
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,28 @@ import type {Config} from 'prettier'
*/
const overridableDefaults = {
endOfLine: 'lf',
tabWidth: 2,
tabWidth: 2 as const,
useTabs: false,
} satisfies Config

const config = {
...overridableDefaults,
printWidth: 100,
printWidth: 100 as const,
semi: false,
singleQuote: true,
quoteProps: 'consistent',
bracketSpacing: false,
plugins: ['prettier-plugin-packagejson' as const],
plugins: ['prettier-plugin-packagejson'] as const,
overrides: [
{
files: ['*.json5'],
files: ['*.json5'] as const,
options: {
quoteProps: 'preserve',
singleQuote: false,
},
},
{
files: ['*.yml'],
files: ['*.yml'] as const,
options: {
singleQuote: false,
},
Expand Down

0 comments on commit 7ca6335

Please sign in to comment.