首页 > 解决方案 > editorconfig 不保留 Github Repo 文件的格式

问题描述

我不明白,为什么当我在 github 上查看代码时,我的代码在 github 上没有以这种格式显示在我的仓库中?

.editorconfig

root = true

[*.js]
indent_style = tab
indent_size = 2

相反,它显示如下: 在此处输入图像描述

标签: javascriptgithubeditorconfig

解决方案


推荐阅读