瀏覽代碼

Use .editorConfig from Microsoft/vscode

masad-frost 7 年之前
父節點
當前提交
be0d51046c
共有 1 個文件被更改,包括 16 次插入0 次删除
  1. 16 0
      .editorconfig

+ 16 - 0
.editorconfig

@@ -0,0 +1,16 @@
+# EditorConfig is awesome: http://EditorConfig.org
+
+# top-most EditorConfig file
+root = true
+
+# Tab indentation
+[*]
+indent_style = tab
+indent_size = 4
+trim_trailing_whitespace = true
+
+# The indent size used in the `package.json` file cannot be changed
+# https://github.com/npm/npm/pull/3180#issuecomment-16336516
+[{*.yml,*.yaml,package.json}]
+indent_style = space
+indent_size = 2