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

推荐订阅源

博客园 - 聂微东
GbyAI
GbyAI
G
Google Developers Blog
大猫的无限游戏
大猫的无限游戏
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 叶小钗
A
About on SuperTechFans
M
MIT News - Artificial intelligence
宝玉的分享
宝玉的分享
雷峰网
雷峰网
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Martin Fowler
Martin Fowler
Google DeepMind News
Google DeepMind News
博客园 - Franky
B
Blog RSS Feed
Y
Y Combinator Blog
Stack Overflow Blog
Stack Overflow Blog
MongoDB | Blog
MongoDB | Blog
Last Week in AI
Last Week in AI
T
The Blog of Author Tim Ferriss
The GitHub Blog
The GitHub Blog
S
SegmentFault 最新的问题
罗磊的独立博客
Apple Machine Learning Research
Apple Machine Learning Research

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