惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The GitHub Blog
The GitHub Blog
I
InfoQ
U
Unit 42
WordPress大学
WordPress大学
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Apple Machine Learning Research
Apple Machine Learning Research
J
Java Code Geeks
月光博客
月光博客
D
Docker
Stack Overflow Blog
Stack Overflow Blog
D
DataBreaches.Net
阮一峰的网络日志
阮一峰的网络日志
Blog — PlanetScale
Blog — PlanetScale
V
Visual Studio Blog
博客园 - 聂微东
A
About on SuperTechFans
腾讯CDC
Jina AI
Jina AI
Microsoft Azure Blog
Microsoft Azure Blog
GbyAI
GbyAI
博客园 - 【当耐特】
罗磊的独立博客
博客园 - 三生石上(FineUI控件)
M
MIT News - Artificial intelligence

博客园 - sekihin

【SQLSERVER】备份还原除当前数据库~之外的其他数据库的bak备份 【前端】常用VsCode插件 React席哪个能优化 20 GitHub 仓库帮助你成为 React专家 Export a named export for each HTTP method instead.(Next.js 15) Error occurred prerendering page "/_not-found".(Next.js 15) Error: Attempted to call generateViewport() from the server (Next.js 15) [cause]: TypeError: e_.createContext is not a function (Next.js 15) Cursor - AI代码编辑器的使用指南 Next.js项目中.eslintrc.js的配置 nvm: Node Version Manager PHP slim 部署Apache NestJS 部署Apache NestJS导出API文档 ChatGPT plugins Obisidian plugins Build nest.js by tsconfig.json Data Transfer Objects (DTOs) in NestJS TypeError: stringWidth is not a function
Next.js项目中.prettierrc.json的配置
sekihin · 2024-12-22 · via 博客园 - sekihin
{
  // 使用双引号包裹属性名
  "quoteProps": "consistent",
  // 对象的键值对之间使用一致的空格
  "bracketSpacing": true,
  // 行尾使用分号
  "semi": true,
  // 行尾使用单引号而不是双引号
  "singleQuote": true,
  // 在多行数组的最后一个元素后面加上逗号
  "trailingComma": "all",
  // 换行长度设置为100个字符
  "printWidth": 100,
  // 使用Tab缩进而不是空格
  "useTabs": false,
  // 每一个缩进级别的空格数
  "tabWidth": 2,
  // 根据Vue文件中的代码缩进
  "vueIndentScriptAndStyle": false,
  // 换行符设置为lf (Line Feed)
  "endOfLine": "lf",
  // JSX语法使用单引号
  "jsxSingleQuote": true
}