发布于 2019-03-06 14:06:02
为了结束这个问题,我后来发现使用EditorConfig文件预置所有工作流设置是最好的做法。
这是一个插件类型的设置文件,它预先配置所需的设置以适应您的工作流程.
在我的例子中,我使用EditorConfig for VScode。将其添加到所选择的编辑器后,只需在基本(根目录)中创建一个.editorconfig文件,并将其填充到所需的设置中。
例如,我的基本设置如下:
# Editor configuration, see http://editorconfig.org
root = true
[*]
charset = utf-8
indent_style = tab
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
max_line_length = off
trim_trailing_whitespace = false发布于 2018-12-15 12:27:08
我发现崇高文本3中的sass-lint没有加载我的配置文件。
我读了这个GitHub问题后就开始工作了
在SublimeLinter首选项(首选项->包设置-> SublimeLinter ->设置)中:
"linters": {
"sass": {
"working_dir": "${/home/myusername}"
}
},将文件.sasslintrc添加到主文件夹:
{
"rules": {
"indentation": [
1,
{
"size": "tab"
}
]
}
}https://stackoverflow.com/questions/41961787
复制相似问题