diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..92d1fea --- /dev/null +++ b/.prettierignore @@ -0,0 +1,3 @@ +.idea/ +.github/ +node_modules/ \ No newline at end of file diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..a031e0c --- /dev/null +++ b/.prettierrc @@ -0,0 +1,9 @@ +{ + "tabWidth": 2, + "useTabs": false, + "semi": true, + "singleQuote": true, + "trailingComma": "all", + "bracketSpacing": true, + "arrowParens": "avoid" +} diff --git a/README.md b/README.md index a9bd9f0..1361f35 100644 --- a/README.md +++ b/README.md @@ -391,7 +391,6 @@ GitHub 技术社区 [Doocs](https://github.com/doocs),致力于打造一个内 - 关注「**Doocs**」公众号,回复 **PDF**,即可获取 [互联网 Java 工程师进阶知识完全扫盲](https://github.com/doocs/advanced-java) 项目离线 PDF 文档(283 页精华),学习更加方便! ![](./images/pdf.png) diff --git a/docs/SpringCloud/spring-cloud-openfeign-source-note.md b/docs/SpringCloud/spring-cloud-openfeign-source-note.md index a5a7d85..97d8c8f 100644 --- a/docs/SpringCloud/spring-cloud-openfeign-source-note.md +++ b/docs/SpringCloud/spring-cloud-openfeign-source-note.md @@ -131,9 +131,9 @@ feign: # FeignClient 执行HTTP请求时,Content-Type 、Content-Length 满足这两个条件,就设置请求头 Content-Encoding=gzip,deflate。 # 设置了请求头后 在发送前会对请求体进行压缩 mimeTypes: - - "text/xml" - - "application/xml" - - "application/json" + - 'text/xml' + - 'application/xml' + - 'application/json' minRequestSize: 100 ``` diff --git a/index.html b/index.html index 87d2d89..953aa37 100644 --- a/index.html +++ b/index.html @@ -1,163 +1,182 @@ - - - - - - 读尽天下源码,心中自然无码 - - - - - - - - - - - - - -
本系列知识由 Doocs 开源社区总结发布
- - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + 读尽天下源码,心中自然无码 + + + + + + + + + + + + + +
本系列知识由 Doocs 开源社区总结发布
+ + + + + + + + + + + + + + + + + diff --git a/vercel.json b/vercel.json index ad258d6..7ae9a3d 100644 --- a/vercel.json +++ b/vercel.json @@ -1,5 +1,5 @@ { - "github": { - "silent": true - } -} \ No newline at end of file + "github": { + "silent": true + } +}