如何在.editorconfig中忽略/排除文件或文件夹?
原因:我有一个包含第三方文件的 /vendor
文件夹。我不希望该文件夹继承我的任何.editorconfig
配置。
我查看了EditorConfig-Properties页面,似乎没有任何可以排除文件夹的属性。也许有一些技巧可以实现呢?
当前配置
root = true
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab
[*]
涵盖所有内容,而是指定要包含的文件夹,而非试图排除文件夹。有没有办法实现只在根目录生效的规则? - iDev247