Skip to content

Instantly share code, notes, and snippets.

@crutch12
Last active June 17, 2024 19:26
Show Gist options
  • Save crutch12/49a5eccf36179e986094d9343fa3014d to your computer and use it in GitHub Desktop.
Save crutch12/49a5eccf36179e986094d9343fa3014d to your computer and use it in GitHub Desktop.
Prettier Config
module.exports = {
printWidth: 120,
tabWidth: 2,
useTabs: false,
semi: true,
singleQuote: true,
quoteProps: 'consistent',
trailingComma: 'all',
bracketSpacing: true,
arrowParens: 'always',
endOfLine: 'lf',
importOrder: ['^[~.]'],
importOrderSeparation: true,
importOrderParserPlugins: ['typescript', 'decorators-legacy'],
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment