1
所以我有一個editorconfig文件是這樣的:是否可以將editorconfig文件放在最頂層的根目錄下?
# Indent preferences
indent_style = space
indent_size = 2
# Do not change these
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = true
我的文件結構如下:
|-- src
|-- tools
|-- test
|-- config
.editorconfig
正如你所看到的,我有一個配置目錄,我想保留的所有配置相關的東西。我希望在整個項目中使用.editorconfig
文件,但顯然它不在頂層根目錄中。這可能嗎?