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

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
人人都是产品经理
人人都是产品经理
爱范儿
爱范儿
aimingoo的专栏
aimingoo的专栏
博客园 - 叶小钗
H
Help Net Security
Microsoft Security Blog
Microsoft Security Blog
The Cloudflare Blog
S
SegmentFault 最新的问题
小众软件
小众软件
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 司徒正美
The GitHub Blog
The GitHub Blog
量子位
H
Hackread – Cybersecurity News, Data Breaches, AI and More
V
V2EX
Martin Fowler
Martin Fowler
博客园 - 【当耐特】
J
Java Code Geeks
D
DataBreaches.Net
云风的 BLOG
云风的 BLOG
F
Fortinet All Blogs
Blog — PlanetScale
Blog — PlanetScale
Last Week in AI
Last Week in AI

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