跟随.editorconfig updates, more build options, better Roslyn support in Rider 2018.3 EAP和Index of EditorConfig properties,我有一个当前包含以下内容的文件:
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
charset = utf-8
insert_final_newline = true
[*.cs]
indent_style = tab
trim_trailing_whitespace = true
# ReSharper custom properties
resharper_unknown_css_class_highlighting = false
但是,这本身不足以使TeamCity接手,因为我在构建后仍看到“未知CSS类”检查。[Configuring inspection severities with EditorConfig建议如果我在本地使用它,我可能必须在ReSharper中启用它(不是),所以我想知道是否必须在TeamCity中配置类似的设置。
我将如何让TeamCity检查ReSharper设置的.editorconfig?
硬方法:启用“从editorconfig和项目设置中读取严重性设置”,然后将其保存到解决方案共享设置中并将其添加到VCS。