chore: add prettier config

Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
Rui Chen 2025-06-11 11:33:39 -04:00
parent 605f567f95
commit cb9d16a07e
No known key found for this signature in database
GPG key ID: 6577287BDCA70840
7 changed files with 273 additions and 355 deletions

11
.prettierrc.js Normal file
View file

@ -0,0 +1,11 @@
/**
* @type {import('prettier').Config}
*/
module.exports = {
trailingComma: 'all',
tabWidth: 2,
semi: true,
singleQuote: true,
printWidth: 100,
bracketSpacing: true,
};