Prettier 설정
일관된 코드 포맷을 위한 Prettier 설정 파일. .prettierignore 포함.
{
"semi": true,
"singleQuote": true,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"trailingComma": "all",
"bracketSpacing": true,
"bracketSameLine": false,
"arrowParens": "always",
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"endOfLine": "lf",
"embeddedLanguageFormatting": "auto",
"proseWrap": "preserve",
"htmlWhitespaceSensitivity": "css",
"overrides": [
{
"files": ["*.json", "*.jsonc"],
"options": { "printWidth": 80 }
},
{
"files": ["*.md", "*.mdx"],
"options": {
"printWidth": 80,
"proseWrap": "always"
}
},
{
"files": ["*.yaml", "*.yml"],
"options": {
"singleQuote": false,
"tabWidth": 2
}
},
{
"files": ["*.html"],
"options": {
"printWidth": 120,
"htmlWhitespaceSensitivity": "ignore"
}
}
]
}