This commit is contained in:
eleanor.mao
2025-06-03 00:03:08 +08:00
commit 48f2c49c2b
100 changed files with 34596 additions and 0 deletions

30
.prettierrc.js Normal file
View File

@ -0,0 +1,30 @@
module.exports = {
singleQuote: true,
trailingComma: 'all',
printWidth: 120,
proseWrap: 'preserve',
endOfLine: 'lf',
tabWidth: 2,
useTabs: false,
semi: true,
singleQuote: true,
arrowParens: 'avoid',
bracketSpacing: true,
htmlWhitespaceSensitivity: 'strict',
jsxBracketSameLine: false,
jsxSingleQuote: false,
overrides: [
{
files: '.prettierrc',
options: {
parser: 'json',
},
},
{
files: 'document.ejs',
options: {
parser: 'html',
},
},
],
};