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

推荐订阅源

Microsoft Azure Blog
Microsoft Azure Blog
WordPress大学
WordPress大学
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
The Cloudflare Blog
U
Unit 42
D
Docker
Hugging Face - Blog
Hugging Face - Blog
博客园 - 聂微东
Recent Announcements
Recent Announcements
GbyAI
GbyAI
T
The Blog of Author Tim Ferriss
Last Week in AI
Last Week in AI
V
Visual Studio Blog
I
InfoQ
Google DeepMind News
Google DeepMind News
小众软件
小众软件
L
LangChain Blog
C
Check Point Blog
宝玉的分享
宝玉的分享
Martin Fowler
Martin Fowler
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 【当耐特】
J
Java Code Geeks
罗磊的独立博客

博客园 - 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
}