import{_ as e,c as t,o,a as i}from"./app.eef76fc8.js";const u='{"title":"Code Style \u7F16\u7A0B\u98CE\u683C","description":"","frontmatter":{},"headers":[{"level":2,"title":"Code Style \u7F16\u7A0B\u98CE\u683C","slug":"code-style-\u7F16\u7A0B\u98CE\u683C"},{"level":3,"title":"\u4F7F\u7528\u65B9\u6CD5","slug":"\u4F7F\u7528\u65B9\u6CD5"},{"level":3,"title":"\u914D\u7F6E\u6587\u4EF6","slug":"\u914D\u7F6E\u6587\u4EF6"}],"relativePath":"feature/code-style.md"}',r={},a=i(`<h2 id="code-style-\u7F16\u7A0B\u98CE\u683C" tabindex="-1">Code Style \u7F16\u7A0B\u98CE\u683C <a class="header-anchor" href="#code-style-\u7F16\u7A0B\u98CE\u683C" aria-hidden="true">#</a></h2><blockquote><p>EditorConfig helps maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs. The EditorConfig project consists of a file format for defining coding styles and a collection of text editor plugins that enable editors to read the file format and adhere to defined styles. EditorConfig files are easily readable and they work nicely with version control systems.</p></blockquote><p>\u5F15\u7528\u5B98\u65B9\u7684\u8BF4\u6CD5: <strong>EditorConfig</strong> \u6709\u52A9\u4E8E\u4E3A\u8DE8\u5404\u79CD\u7F16\u8F91\u5668\u548C ide \u4ECE\u4E8B\u540C\u4E00\u9879\u76EE\u7684\u591A\u4E2A\u5F00\u53D1\u4EBA\u5458\u7EF4\u62A4\u4E00\u81F4\u7684\u7F16\u7801\u98CE\u683C\u3002</p><p>\u672C\u6587\u7EA6\u5B9A\u5982\u4E0B:</p><ul><li>\u9ED8\u8BA4\u914D\u7F6E\u6587\u4EF6\u8868\u793A<code>.editorconfig</code></li></ul><h3 id="\u4F7F\u7528\u65B9\u6CD5" tabindex="-1">\u4F7F\u7528\u65B9\u6CD5 <a class="header-anchor" href="#\u4F7F\u7528\u65B9\u6CD5" aria-hidden="true">#</a></h3><p>\u9009\u62E9\u6B64\u914D\u7F6E\u540E\uFF0C\u4F1A\u51FA\u73B0\u4EE5\u4E0B\u4E24\u79CD\u60C5\u51B5\uFF1A</p><ul><li>\u5982\u679C\u5F53\u524D\u9879\u76EE\u6CA1\u6709\u914D\u7F6E\u8FC7\uFF0C\u5219\u5728\u9879\u76EE\u6839\u76EE\u5F55\u4E2D\u521B\u5EFA\u4E00\u4E2A\u9ED8\u8BA4\u914D\u7F6E\u6587\u4EF6\u6587\u4EF6\u3002</li><li>\u5982\u679C\u5F53\u524D\u9879\u76EE\u4E2D\u5DF2\u914D\u7F6E\uFF0C\u5219\u63D0\u793A\u662F\u5426\u6587\u4EF6\u66FF\u6362</li></ul><h3 id="\u914D\u7F6E\u6587\u4EF6" tabindex="-1">\u914D\u7F6E\u6587\u4EF6 <a class="header-anchor" href="#\u914D\u7F6E\u6587\u4EF6" aria-hidden="true">#</a></h3><p>\u811A\u624B\u67B6\u751F\u6210\u9ED8\u8BA4\u914D\u7F6E\u6587\u4EF6\u6587\u4EF6\u5185\u5BB9\u5927\u6982\u5982\u4E0B:</p><div class="language-"><pre><code>root = true

[*]
charset = utf-8
indent_size = 2
end_of_line = auto
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
</code></pre></div><p>\u66F4\u591A\u8BE6\u60C5\u4FE1\u606F\u548C\u914D\u7F6E\u53EF\u4EE5\u79FB\u6B65<a href="https://editorconfig.org/" target="_blank" rel="noopener noreferrer">EditorConfig</a>\u67E5\u770B</p>`,12),n=[a];function l(s,d,c,_,h,f){return o(),t("div",null,n)}var g=e(r,[["render",l]]);export{u as __pageData,g as default};
