chore: add prettier config (#633)

Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
Rui Chen
2025-06-11 11:34:43 -04:00
committed by GitHub
parent 605f567f95
commit c8d8e91662
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,
};